refactor: include assistant default_model config in Zed snippet, update Continue note to mention config.yaml

This commit is contained in:
Hitonabi
2026-06-25 22:42:12 +02:00
parent 85d8371261
commit be5341fb03
+7 -1
View File
@@ -57,6 +57,12 @@ def build_snippets(host: str = DEFAULT_HOST,
], ],
} }
} }
},
"assistant": {
"default_model": {
"provider": "openai_compatible",
"model": "auto"
}
} }
}, indent=2) }, indent=2)
@@ -96,7 +102,7 @@ def build_snippets(host: str = DEFAULT_HOST,
"zed": {"label": "Zed", "lang": "json", "snippet": zed, "zed": {"label": "Zed", "lang": "json", "snippet": zed,
"note": "settings.json → language_models.openai_compatible."}, "note": "settings.json → language_models.openai_compatible."},
"continue": {"label": "Continue", "lang": "json", "snippet": cont, "continue": {"label": "Continue", "lang": "json", "snippet": cont,
"note": "~/.continue/config.json."}, "note": "~/.continue/config.json (oder config.yaml mit identischen Keys)."},
"claude_code": {"label": "Claude Code", "lang": "bash", "snippet": claude_code, "claude_code": {"label": "Claude Code", "lang": "bash", "snippet": claude_code,
"note": "Anthropic-Format über LiteLLM /v1/messages."}, "note": "Anthropic-Format über LiteLLM /v1/messages."},
"memory_mcp": {"label": "Shared Memory (MCP)", "lang": "json", "snippet": memory_mcp, "memory_mcp": {"label": "Shared Memory (MCP)", "lang": "json", "snippet": memory_mcp,