one-api/relay/adaptor/anthropic
Laisky.Cai ec4fd57ea6 fix: Implement improved headers for anthropic API requests.
Here is the summary of the commit in imperative tone and bullet points:

- Update relay/adaptor/anthropic/adaptor.go to set default values for `anthropic-version` and `anthropic-beta` headers.
- Refine condition for setting `anthropic-beta` header based on specific model types.
2024-07-16 01:22:12 +00:00
..
adaptor.go fix: Implement improved headers for anthropic API requests. 2024-07-16 01:22:12 +00:00
constants.go feat: added support for Claude Sonnet 3.5 (#1567) 2024-06-30 16:25:25 +08:00
main.go Merge remote-tracking branch 'origin/upstream/main' 2024-07-03 05:19:46 +00:00
model.go Merge remote-tracking branch 'origin/upstream/main' 2024-07-03 05:19:46 +00:00