MCPcopy
hub / github.com/anomalyco/opencode / make

Method make

packages/llm/src/schema/options.ts:195–203  ·  view source on GitHub ↗
(input: Model.Input)

Source from the content-addressed store, hash-verified

193 }
194
195 static make(input: Model.Input) {
196 return new Model({
197 id: ModelID.make(input.id),
198 provider: ProviderID.make(input.provider),
199 route: input.route,
200 defaults: input.defaults === undefined ? undefined : ModelDefaults.make(input.defaults),
201 compatibility: input.compatibility === undefined ? undefined : ModelCompatibility.make(input.compatibility),
202 })
203 }
204
205 static input(model: Model): Model.ConstructorInput {
206 return {

Callers 15

effect.test.tsFile · 0.45
promise.test.tsFile · 0.45
makeFunction · 0.45
createPlatformFunction · 0.45
AppFunction · 0.45
index.test.tsFile · 0.45
index.tsFile · 0.45
tutorial.tsFile · 0.45
tool.types.tsFile · 0.45
requestFunction · 0.45

Calls

no outgoing calls

Tested by 15

requestFunction · 0.36
responsesLayerFunction · 0.36
countedResponsesLayerFunction · 0.36
provideFunction · 0.36
contextualFunction · 0.36
setupFunction · 0.36
setRulesFunction · 0.36
assertionFunction · 0.36
waitForRequestFunction · 0.36
idFunction · 0.36
assistantFunction · 0.36
pullFunction · 0.36