You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eacbbe8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: crates/buzz-agent/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,17 +129,17 @@ Everything is environment variables. No flags, no config files. (We are a subpro
129
129
130
130
| Variable | Default | Notes |
131
131
|---|---|---|
132
-
|`BUZZ_AGENT_PROVIDER`| — |`anthropic`, `openai`, `databricks`, or `databricks_v2`. If unset, or if `anthropic`/`openai` is selected but its API key is missing, Databricks is auto-selected when `DATABRICKS_HOST` + `DATABRICKS_MODEL` are set. |
133
-
|`ANTHROPIC_API_KEY`| — | Required when provider=anthropic unless Databricks fallback is configured. |
132
+
|`BUZZ_AGENT_PROVIDER`| — |Required. `anthropic`, `openai`, `databricks`, or `databricks_v2`. No implicit fallback — the agent errors at startup when this is unset. |
133
+
|`ANTHROPIC_API_KEY`| — | Required when provider=anthropic. |
134
134
|`ANTHROPIC_MODEL`| — | Required when provider=anthropic. |
|`OPENAI_COMPAT_API_KEY`| — | Required when provider=openai unless Databricks fallback is configured. |
137
+
|`OPENAI_COMPAT_API_KEY`| — | Required when provider=openai. |
138
138
|`OPENAI_COMPAT_MODEL`| — | Required when provider=openai. |
139
139
|`OPENAI_COMPAT_BASE_URL`|`https://api.openai.com/v1`| Point at vLLM, llama.cpp, OpenRouter, Ollama, etc. |
| Databricks AI Gateway v2 |`databricks_v2`|`POST {host}/ai-gateway/{provider}/v1/...`| databricks-gpt-5-5, databricks-claude-opus-4-7 |
174
174
175
-
If `BUZZ_AGENT_PROVIDER=anthropic` is selected without `ANTHROPIC_API_KEY`, or `BUZZ_AGENT_PROVIDER=openai` is selected without `OPENAI_COMPAT_API_KEY`, the agent automatically falls back to Databricks OAuth when `DATABRICKS_HOST` and `DATABRICKS_MODEL` are set. The same Databricks fallback applies when `BUZZ_AGENT_PROVIDER` is unset. Explicit Anthropic/OpenAI API keys always win.
175
+
If `BUZZ_AGENT_PROVIDER=anthropic` is selected without `ANTHROPIC_API_KEY`, or `BUZZ_AGENT_PROVIDER=openai` is selected without `OPENAI_COMPAT_API_KEY`, the agent returns an error — there is no implicit fallback to another provider.
176
176
177
177
`provider=openai` speaks two HTTP dialects: the [Responses API](https://platform.openai.com/docs/api-reference/responses) (`/v1/responses`, required for GPT-5 / o-series tool-calling on OpenAI's own service) and the [Chat Completions API](https://platform.openai.com/docs/api-reference/chat) (`/chat/completions`, the broadly-supported OpenAI-compatible wire format).
0 commit comments