MCPcopy Index your code
hub / github.com/anomalyco/opencode / configured

Function configured

packages/app/src/context/local.tsx:241–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 }
240
241 const configured = () => {
242 const item = agent.current()
243 const model = current()
244 if (!item || !model) return
245 return getConfiguredAgentVariant({
246 agent: { model: item.model, variant: item.variant },
247 model: { providerID: model.provider.id, modelID: model.id, variants: model.variants },
248 })
249 }
250
251 const selected = () => scope()?.variant
252

Callers 2

permission.tsFile · 0.85
index.tsFile · 0.85

Calls 3

currentFunction · 0.70
currentMethod · 0.45

Tested by

no test coverage detected