MCPcopy
hub / github.com/codeaashu/claude-code / generateModelSection

Function generateModelSection

src/tools/ConfigTool/prompt.ts:79–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79function generateModelSection(): string {
80 try {
81 const options = getModelOptions()
82 const lines = options.map(o => {
83 const value = o.value === null ? 'null/"default"' : `"${o.value}"`
84 return ` - ${value}: ${o.descriptionForModel ?? o.description}`
85 })
86 return `## Model
87- model - Override the default model. Available options:
88${lines.join('\n')}`
89 } catch {
90 return `## Model
91- model - Override the default model (sonnet, opus, haiku, best, or full model ID)`
92 }
93}
94

Callers 1

generatePromptFunction · 0.85

Calls 1

getModelOptionsFunction · 0.85

Tested by

no test coverage detected