summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-15 06:39:55 +0800
committerGitHub <noreply@github.com>2024-06-15 06:39:55 +0800
commit12872b3d2956a26fb7d1cd464b3672ebe40d94c1 (patch)
treeb9ee4077f0f557920365a3f1f7a7a8329c274392 /src
parent746b087111fabc10ec3f3f3e9ef3628d1eb47fd8 (diff)
downloadaichat-12872b3d2956a26fb7d1cd464b3672ebe40d94c1.tar.gz
refactor: update models.yaml (#602)
Diffstat (limited to 'src')
-rw-r--r--src/client/claude.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/claude.rs b/src/client/claude.rs
index a16722b..f95fafc 100644
--- a/src/client/claude.rs
+++ b/src/client/claude.rs
@@ -39,8 +39,7 @@ impl ClaudeClient {
let mut builder = client.post(url).json(&body);
builder = builder
- .header("anthropic-version", "2023-06-01")
- .header("anthropic-beta", "tools-2024-05-16");
+ .header("anthropic-version", "2023-06-01");
if let Some(api_key) = api_key {
builder = builder.header("x-api-key", api_key)
}