Skip to content

Commit b06005d

Browse files
fix: add missing zaiApiKey and doubaoApiKey to SECRET_STATE_KEYS (#7083)
Fixes first-time initialization issue with Z AI and Doubao providers where the API keys were not recognized as valid secret keys, causing the configuration to fail during initial setup. Fixes #7082 Co-authored-by: Roo Code <[email protected]>
1 parent 5d54ce9 commit b06005d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/types/src/global-settings.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ export const SECRET_STATE_KEYS = [
178178
"openAiNativeApiKey",
179179
"cerebrasApiKey",
180180
"deepSeekApiKey",
181+
"doubaoApiKey",
181182
"moonshotApiKey",
182183
"mistralApiKey",
183184
"unboundApiKey",
@@ -193,6 +194,7 @@ export const SECRET_STATE_KEYS = [
193194
"codebaseIndexMistralApiKey",
194195
"huggingFaceApiKey",
195196
"sambaNovaApiKey",
197+
"zaiApiKey",
196198
"fireworksApiKey",
197199
"ioIntelligenceApiKey",
198200
] as const satisfies readonly (keyof ProviderSettings)[]

0 commit comments

Comments
 (0)