MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getHaiku35Option

Function getHaiku35Option

src/utils/model/modelOptions.ts:193–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193function getHaiku35Option(): ModelOption {
194 const is3P = getAPIProvider() !== 'firstParty'
195 return {
196 value: 'haiku',
197 label: 'Haiku',
198 description: `Haiku 3.5 for simple tasks${is3P ? '' : ` · ${formatModelPricing(COST_HAIKU_35)}`}`,
199 descriptionForModel:
200 'Haiku 3.5 - faster and lower cost, but less capable than Sonnet. Use for simple tasks.',
201 }
202}
203
204function getHaikuOption(): ModelOption {
205 // Return correct Haiku option based on provider

Callers 1

getHaikuOptionFunction · 0.85

Calls 2

getAPIProviderFunction · 0.85
formatModelPricingFunction · 0.85

Tested by

no test coverage detected