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

Function models

packages/core/test/catalog.test.ts:266–274  ·  view source on GitHub ↗
(catalog: Catalog.Draft)

Source from the content-addressed store, hash-verified

264 const old = ModelV2.ID.make("old")
265 const newest = ModelV2.ID.make("new")
266 const models = (catalog: Catalog.Draft) => {
267 catalog.provider.update(providerID, () => {})
268 catalog.model.update(providerID, old, (model) => {
269 model.time.released = 1000
270 })
271 catalog.model.update(providerID, newest, (model) => {
272 model.time.released = 2000
273 })
274 }
275
276 let configured = true
277 yield* catalog.transform((catalog) => {

Callers 4

catalog.test.tsFile · 0.70
ModelSelectorPopoverV2Function · 0.50
keysFunction · 0.50
selectActiveFunction · 0.50

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected