mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
update api config key list to match with api key and global state key
This commit is contained in:
parent
b4094a6281
commit
0a0634488a
1 changed files with 14 additions and 12 deletions
|
|
@ -58,7 +58,6 @@ export interface ApiHandlerOptions {
|
|||
azureApiVersion?: string
|
||||
openRouterUseMiddleOutTransform?: boolean
|
||||
openAiStreamingEnabled?: boolean
|
||||
setAzureApiVersion?: boolean
|
||||
deepSeekBaseUrl?: string
|
||||
deepSeekApiKey?: string
|
||||
includeMaxTokens?: boolean
|
||||
|
|
@ -83,12 +82,18 @@ import { GlobalStateKey } from "./globalState"
|
|||
|
||||
// Define API configuration keys for dynamic object building
|
||||
export const API_CONFIG_KEYS: GlobalStateKey[] = [
|
||||
"apiProvider",
|
||||
"apiModelId",
|
||||
"anthropicBaseUrl",
|
||||
"vsCodeLmModelSelector",
|
||||
"glamaModelId",
|
||||
"glamaModelInfo",
|
||||
"openRouterModelId",
|
||||
"openRouterModelInfo",
|
||||
"openRouterBaseUrl",
|
||||
"awsRegion",
|
||||
"awsUseCrossRegionInference",
|
||||
// "awsUsePromptCache", // NOT exist on GlobalStateKey
|
||||
// "awspromptCacheId", // NOT exist on GlobalStateKey
|
||||
"awsProfile",
|
||||
"awsUseProfile",
|
||||
"vertexProjectId",
|
||||
|
|
@ -101,24 +106,21 @@ export const API_CONFIG_KEYS: GlobalStateKey[] = [
|
|||
"ollamaBaseUrl",
|
||||
"lmStudioModelId",
|
||||
"lmStudioBaseUrl",
|
||||
"anthropicBaseUrl",
|
||||
"modelMaxThinkingTokens",
|
||||
"mistralCodestralUrl",
|
||||
"lmStudioDraftModelId",
|
||||
"lmStudioSpeculativeDecodingEnabled",
|
||||
"mistralCodestralUrl", // New option for Codestral URL
|
||||
"azureApiVersion",
|
||||
"openAiStreamingEnabled",
|
||||
"openRouterModelId",
|
||||
"openRouterModelInfo",
|
||||
"openRouterBaseUrl",
|
||||
"openRouterUseMiddleOutTransform",
|
||||
"vsCodeLmModelSelector",
|
||||
"openAiStreamingEnabled",
|
||||
// "deepSeekBaseUrl", // not exist on GlobalStateKey
|
||||
// "includeMaxTokens", // not exist on GlobalStateKey
|
||||
"unboundModelId",
|
||||
"unboundModelInfo",
|
||||
"requestyModelId",
|
||||
"requestyModelInfo",
|
||||
"modelTemperature",
|
||||
"modelMaxTokens",
|
||||
"lmStudioSpeculativeDecodingEnabled",
|
||||
"lmStudioDraftModelId"
|
||||
"modelMaxThinkingTokens",
|
||||
]
|
||||
|
||||
// Models
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue