feat: support setting model context length
This commit is contained in:
@ -17,8 +17,8 @@
|
||||
"apiKey": "API Key",
|
||||
"apiBase": "API Base URL",
|
||||
"model": "Model",
|
||||
"contextSize": "Context Size",
|
||||
"contextSizeHelp": "The maximum size of the context in tokens. This is the maximum number of tokens that will be sent to the model. The default is 128,000 tokens.",
|
||||
"contextSize": "Context Length",
|
||||
"contextSizeHelp": "The maximum number of tokens that will be sent to the model. Can't be bigger than the model's context length.",
|
||||
"providers": {
|
||||
"openaiCompatible": {
|
||||
"title": "OpenAI Compatible",
|
||||
@ -102,4 +102,4 @@
|
||||
"refresh": "Refresh page",
|
||||
"dismiss": "Dismiss"
|
||||
}
|
||||
}
|
||||
}
|
@ -17,8 +17,8 @@
|
||||
"apiKey": "API 密钥",
|
||||
"apiBase": "API Base URL",
|
||||
"model": "模型名称",
|
||||
"contextSize": "上下文大小",
|
||||
"contextSizeHelp": "上下文的最大大小(以 token 计)。这是将发送给模型的最大 token 数量。默认值为 128,000 个 token。",
|
||||
"contextSize": "上下文长度",
|
||||
"contextSizeHelp": "发送给模型的最大 token 数量,不能超过模型本身支持的上下文长度。",
|
||||
"providers": {
|
||||
"openaiCompatible": {
|
||||
"title": "OpenAI Compatible",
|
||||
@ -102,4 +102,4 @@
|
||||
"refresh": "刷新",
|
||||
"dismiss": "忽略"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user