feat(llm): add Gemini as a preset AI provider

This commit is contained in:
Will Miao
2026-08-07 10:27:51 +08:00
parent daf01fb1d6
commit 24f5f7df5d
12 changed files with 16 additions and 0 deletions

View File

@@ -201,6 +201,11 @@ PROVIDER_PRESETS: Dict[str, Dict[str, Any]] = {
"api_base": "https://openrouter.ai/api/v1",
"requires_key": True,
},
"google": {
"name": "Gemini",
"api_base": "https://generativelanguage.googleapis.com/v1beta/openai",
"requires_key": True,
},
"opencode-go": {
"name": "OpenCode Go",
"api_base": "https://opencode.ai/zen/go/v1",