feat: support setting model context length

This commit is contained in:
AnotiaWang
2025-02-17 16:40:54 +08:00
parent fc83d9387e
commit 78bdfd3282
6 changed files with 28 additions and 8 deletions

View File

@ -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"
}
}
}