使用ConcurrentHashMap,粗略的对于每个密钥按每分钟进行限速

This commit is contained in:
Yanyutin753
2024-03-15 09:45:14 +08:00
parent 4b77a1d990
commit 8bc5f80dc5
8 changed files with 165 additions and 20 deletions

View File

@@ -4,8 +4,11 @@
"get_token_url": "",
"copilot_chat_version": "0.14.2024031401",
"prefix": "",
"one_selfCopilot_limit": 2,
"one_copilot_limit": 2,
"vscode_version": "vscode\/1.85.2",
"serverPort": 8080,
"maxPoolSize": 300,
"gpt4_sleepTime": 100
"gpt4_sleepTime": 100,
"one_coCopilot_limit": 2
}