* add mistral and gemini provider type for profile provider field * load latest locally selected * env variables take precedence over json save * add gemini context windows and fix gemini defaulting for env * load on startup fix * fix failing tests * clarify test message * fix variable mismatches * fix failing test * delete keys and set profile.apiKey for mistral and gemini * switch model as well when switching provider * set model when adding a new model
24 lines
813 B
TypeScript
24 lines
813 B
TypeScript
// These constants are in a separate file to avoid circular dependency issues.
|
|
// Do NOT add imports to this file - it must remain dependency-free.
|
|
|
|
export const NOTIFICATION_CHANNELS = [
|
|
'auto',
|
|
'iterm2',
|
|
'iterm2_with_bell',
|
|
'terminal_bell',
|
|
'kitty',
|
|
'ghostty',
|
|
'notifications_disabled',
|
|
] as const
|
|
|
|
// Valid editor modes (excludes deprecated 'emacs' which is auto-migrated to 'normal')
|
|
export const EDITOR_MODES = ['normal', 'vim'] as const
|
|
|
|
// Valid teammate modes for spawning
|
|
// 'tmux' = traditional tmux-based teammates
|
|
// 'in-process' = in-process teammates running in same process
|
|
// 'auto' = automatically choose based on context (default)
|
|
export const TEAMMATE_MODES = ['auto', 'tmux', 'in-process'] as const
|
|
|
|
export const PROVIDERS = ['openai', 'anthropic', 'mistral', 'gemini'] as const
|