mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
fix: add codexCliOpenAiNativeToken to SecretState type definition
The token was in SECRET_STATE_KEYS but missing from the SecretState type, causing TypeScript errors in ContextProxy
This commit is contained in:
parent
6430042ed3
commit
ac4b624bfd
1 changed files with 2 additions and 0 deletions
|
|
@ -220,6 +220,8 @@ type GlobalSecretKey = (typeof GLOBAL_SECRET_KEYS)[number]
|
|||
// Type representing all secrets that can be stored
|
||||
export type SecretState = Pick<ProviderSettings, Extract<ProviderSecretKey, keyof ProviderSettings>> & {
|
||||
[K in GlobalSecretKey]?: string
|
||||
} & {
|
||||
codexCliOpenAiNativeToken?: string
|
||||
}
|
||||
|
||||
export const isSecretStateKey = (key: string): key is Keys<SecretState> =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue