co-mono/packages
Mario Zechner de39f1f493 Add custom headers support for models.json
Fixes #39

- Added headers field to Model type (provider and model level)
- Model headers override provider headers when merged
- Supported in all APIs:
  - Anthropic: defaultHeaders
  - OpenAI (completions/responses): defaultHeaders
  - Google: httpOptions.headers
- Enables bypassing Cloudflare bot detection for proxied endpoints
- Updated documentation with examples

Also fixed:
- Mistral/Chutes syntax error (iif -> if)
- process.env.ANTHROPIC_API_KEY bug (use delete instead of = undefined)
2025-11-20 17:05:31 +01:00
..
agent Add PR and contributor credits to CHANGELOG 2025-11-20 13:41:19 +01:00
ai Add custom headers support for models.json 2025-11-20 17:05:31 +01:00
coding-agent Add custom headers support for models.json 2025-11-20 17:05:31 +01:00
pods Add PR and contributor credits to CHANGELOG 2025-11-20 13:41:19 +01:00
proxy Add PR and contributor credits to CHANGELOG 2025-11-20 13:41:19 +01:00
tui Add PR and contributor credits to CHANGELOG 2025-11-20 13:41:19 +01:00
web-ui Add PR and contributor credits to CHANGELOG 2025-11-20 13:41:19 +01:00