From b06005d32149b0e4a73f12be558edc4866b6ccce Mon Sep 17 00:00:00 2001 From: "roomote[bot]" <219738659+roomote[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 12:54:44 -0700 Subject: [PATCH] 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 --- packages/types/src/global-settings.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/types/src/global-settings.ts b/packages/types/src/global-settings.ts index c071726d8a..5d0854390d 100644 --- a/packages/types/src/global-settings.ts +++ b/packages/types/src/global-settings.ts @@ -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)[]