MCPcopy Create free account
hub / github.com/arctic-cli/interface / smallOptions

Function smallOptions

packages/arctic/src/provider/transform.ts:294–314  ·  view source on GitHub ↗
(model: Provider.Model)

Source from the content-addressed store, hash-verified

292 }
293
294 export function smallOptions(model: Provider.Model) {
295 const options: Record<string, any> = {}
296
297 if (model.providerID === "openai" || model.api.id.includes("gpt-5")) {
298 if (model.api.id.includes("5.")) {
299 options["reasoningEffort"] = "low"
300 } else {
301 options["reasoningEffort"] = "minimal"
302 }
303 }
304 if (
305 model.providerID === "google" &&
306 (model.api.id.includes("thinking") || model.api.id.includes("gemini-3") || model.api.id.includes("opus"))
307 ) {
308 options["thinkingConfig"] = {
309 thinkingBudget: 0,
310 }
311 }
312
313 return options
314 }
315
316 export function providerOptions(model: Provider.Model, options: { [x: string]: any }) {
317 switch (model.api.npm) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected