MCPcopy Create free account
hub / github.com/anomalyco/opencode / input

Method input

packages/llm/src/schema/options.ts:205–213  ·  view source on GitHub ↗
(model: Model)

Source from the content-addressed store, hash-verified

203 }
204
205 static input(model: Model): Model.ConstructorInput {
206 return {
207 id: model.id,
208 provider: model.provider,
209 route: model.route,
210 defaults: model.defaults,
211 compatibility: model.compatibility,
212 }
213 }
214
215 static update(model: Model, patch: Partial<Model.Input>) {
216 if (Object.keys(patch).length === 0) return model

Callers 11

llm.test.tsFile · 0.80
requestInputFunction · 0.80
updateMethod · 0.80
hostedToolEventsFunction · 0.80
AutocompleteFunction · 0.80
insertPartFunction · 0.80
insertFileMentionFunction · 0.80
expandDirectoryFunction · 0.80
showFunction · 0.80
hideFunction · 0.80
onInputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected