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

Function modeName

packages/core/src/plugin/models-dev.ts:72–74  ·  view source on GitHub ↗
(model: ModelsDev.Model, mode: string)

Source from the content-addressed store, hash-verified

70}
71
72function modeName(model: ModelsDev.Model, mode: string) {
73 return `${model.name} ${mode.charAt(0).toUpperCase()}${mode.slice(1)}`
74}
75
76function applyModel(
77 draft: ModelV2Info,

Callers 1

models-dev.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected