Skip to content

Commit da53e26

Browse files
committed
fix: add missing zaiApiKey and doubaoApiKey to SECRET_STATE_KEYS
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
1 parent dcbb7a6 commit da53e26

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)