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
Copy file name to clipboardExpand all lines: docs/reference/toml_schema.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ route reaches no upstream. A file without a `[targets]` table is rejected with
45
45
|`format`| Yes | — |`openai_chat`, `openai_responses`, or `anthropic_messages`. |
46
46
|`base_url`| Yes | — | Upstream base URL. |
47
47
|`api_key_env`| No | unset | Name of the environment variable holding the key. Omit to send no authentication. |
48
-
|`extra_headers`| No |`{}`|Extra HTTP headers sent upstream. |
48
+
|`extra_headers`| No |`{}`|Custom HTTP headers sent to the model server. Set credentials with `api_key_env`. For OpenAI requests, the client ignores `Authorization` here and sends the configured key once. For Anthropic requests, it ignores `x-api-key` and `anthropic-version` here, then sends the configured key and required Anthropic version. Header names are matched without regard to letter case. |
49
49
|`max_retries`| No |`2`| Retry budget, `0`–`10`. |
50
50
51
51
The TOML never contains the secret itself. `api_key_env` names a variable that
0 commit comments