Commit 5d47dc1
feat: add headers field to ModelConfigParam for custom LLM proxy auth
Adds optional `headers` field to `ModelConfigParam`, allowing users to
pass custom HTTP headers with every request to their model provider.
This aligns the Python SDK with the core TypeScript SDK which already
supports `headers` on `ClientOptions` and `ModelConfigObjectSchema`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a30258c commit 5d47dc1
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
0 commit comments