mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-22 19:39:31 +08:00
* feat: 模型配置支持配置多模态 * feat: models add is_hidden field --------- Co-authored-by: LydiaCai1203 <1125862926@qq.com>
44 lines
1.0 KiB
Cheetah
44 lines
1.0 KiB
Cheetah
{
|
|
"snapshot": false,
|
|
"agent": {
|
|
"title": {
|
|
"disable": true
|
|
}
|
|
},
|
|
"provider": {
|
|
"monkeycode-ai": {
|
|
"npm": "{{.npm_package}}",
|
|
"name": "monkeycode-ai",
|
|
"options": {
|
|
"baseURL": "{{.base_url}}"
|
|
},
|
|
"models": {
|
|
"{{.model}}": {
|
|
{{- if or (not .thinking_enabled) .force_reasoning }}
|
|
"options": {
|
|
{{- if not .thinking_enabled }}
|
|
"thinking": {"type":"disabled"}{{if .force_reasoning}},{{end}}
|
|
{{- end }}
|
|
{{- if .force_reasoning }}
|
|
"forceReasoning": true
|
|
{{- end }}
|
|
},
|
|
{{- end }}
|
|
"name": "{{.model}}",
|
|
{{- if .support_image }}
|
|
"attachment": true,
|
|
"modalities": {
|
|
"input": ["text", "image"],
|
|
"output": ["text"]
|
|
},
|
|
{{- end }}
|
|
"limit": {"context": {{.context_limit}}, "output": {{.output_limit}}}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"model": "monkeycode-ai/{{.model}}",
|
|
"disabled_providers": ["openai", "opencode"],
|
|
"instructions": ["/tmp/codingmatrix-project-tpl/.ai-ready/rules/*.md"]
|
|
}
|