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

Function updateModel

packages/llm/test/adapter.test.ts:9–9  ·  view source on GitHub ↗
(model: Model, patch: Partial<Model.Input>)

Source from the content-addressed store, hash-verified

7import { dynamicResponse } from "./lib/http"
8
9const updateModel = (model: Model, patch: Partial<Model.Input>) => Model.update(model, patch)
10
11const Json = Schema.fromJsonString(Schema.Unknown)
12const encodeJson = Schema.encodeSync(Json)

Callers 1

adapter.test.tsFile · 0.85

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected