35 lines
1.4 KiB
TOML
35 lines
1.4 KiB
TOML
[[provider]]
|
|
id = "anthropic"
|
|
display_name = "Anthropic"
|
|
scheme = "anthropic"
|
|
base_url = "https://api.anthropic.com"
|
|
auth_hint = { kind = "secret_ref", ref = "providers/anthropic/default" }
|
|
default_capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "budget_tokens", vision = true, prompt_caching = { kind = "explicit", max_breakpoints = 4 } }
|
|
default_context_window = 200000
|
|
|
|
[[provider]]
|
|
id = "ollama-local"
|
|
display_name = "Ollama (local)"
|
|
scheme = "anthropic"
|
|
base_url = "http://localhost:11434"
|
|
auth_hint = { kind = "none" }
|
|
default_capability = { tool_calling = "parallel", structured_output = "json_schema", vision = false, prompt_caching = { kind = "auto" } }
|
|
default_context_window = 128000
|
|
|
|
[[provider]]
|
|
id = "codex-oauth"
|
|
display_name = "ChatGPT (Codex OAuth)"
|
|
scheme = "openai_responses"
|
|
auth_hint = { kind = "codex_oauth" }
|
|
default_capability = { tool_calling = "parallel", structured_output = "json_schema", reasoning = "effort", vision = true, prompt_caching = { kind = "auto" } }
|
|
default_context_window = 400000
|
|
|
|
[[provider]]
|
|
id = "openrouter"
|
|
display_name = "OpenRouter"
|
|
scheme = "openai_chat"
|
|
base_url = "https://openrouter.ai/api/v1"
|
|
auth_hint = { kind = "secret_ref", ref = "providers/openrouter/default" }
|
|
default_capability = { tool_calling = "parallel", structured_output = "json_schema", vision = true, prompt_caching = { kind = "auto" } }
|
|
default_context_window = 200000
|