MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getAgentModelOptions

Function getAgentModelOptions

src/utils/model/agent.ts:134–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 * Get available model options for agents
133 */
134export function getAgentModelOptions(): AgentModelOption[] {
135 return [
136 {
137 value: 'sonnet',
138 label: 'Sonnet',
139 description: 'Balanced performance - best for most agents',
140 },
141 {
142 value: 'opus',
143 label: 'Opus',
144 description: 'Most capable for complex reasoning tasks',
145 },
146 {
147 value: 'haiku',
148 label: 'Haiku',
149 description: 'Fast and efficient for simple tasks',
150 },
151 {
152 value: 'inherit',
153 label: 'Inherit from parent',
154 description: 'Use the same model as the main conversation',
155 },
156 ]
157}
158

Callers 1

ModelSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected