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 <roomote@roocode.com>
This commit is contained in:
roomote[bot] 2025-08-19 12:54:44 -07:00 committed by GitHub
parent 5d54ce9667
commit b06005d321
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -178,6 +178,7 @@ export const SECRET_STATE_KEYS = [
"openAiNativeApiKey",
"cerebrasApiKey",
"deepSeekApiKey",
"doubaoApiKey",
"moonshotApiKey",
"mistralApiKey",
"unboundApiKey",
@ -193,6 +194,7 @@ export const SECRET_STATE_KEYS = [
"codebaseIndexMistralApiKey",
"huggingFaceApiKey",
"sambaNovaApiKey",
"zaiApiKey",
"fireworksApiKey",
"ioIntelligenceApiKey",
] as const satisfies readonly (keyof ProviderSettings)[]