Skip to content

Commit

Permalink
increase token limit
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkrishnads committed Jul 31, 2024
1 parent 07ae17a commit 5ba8692
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handlers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub async fn proxy_anthropic(
let anthropic_req = app_state.client.post("https://api.anthropic.com/v1/messages")
.header("x-api-key", bearer_token)
.header("anthropic-version", "2023-06-01")
.header("anthropic-beta", "max-tokens-3-5-sonnet-2024-07-15")
.header("content-type", "application/json")
.body(payload);

Expand Down

0 comments on commit 5ba8692

Please sign in to comment.