Files
oh-my-opencode/src/cli/model-fallback-types.ts
T

31 lines
530 B
TypeScript

export interface ProviderAvailability {
native: {
claude: boolean
openai: boolean
gemini: boolean
}
opencodeZen: boolean
copilot: boolean
zai: boolean
kimiForCoding: boolean
opencodeGo: boolean
isMaxPlan: boolean
}
export interface AgentConfig {
model: string
variant?: string
}
export interface CategoryConfig {
model: string
variant?: string
}
export interface GeneratedOmoConfig {
$schema: string
agents?: Record<string, AgentConfig>
categories?: Record<string, CategoryConfig>
[key: string]: unknown
}