From a8e2b9a00c73b11d28857f0f5de79a9022281182 Mon Sep 17 00:00:00 2001 From: Maky <65879341+makyinmars@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:05:52 -0400 Subject: [PATCH] chore: update to latest claude sonnet 3.5 (#751) --- README.md | 2 +- lua/avante/config.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d7cc32e1..35bc8cee 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_ auto_suggestions_provider = "claude", -- Since auto-suggestions are a high-frequency operation and therefore expensive, it is recommended to specify an inexpensive provider or even a free provider: copilot claude = { endpoint = "https://api.anthropic.com", - model = "claude-3-5-sonnet-20240620", + model = "claude-3-5-sonnet-20241022", temperature = 0, max_tokens = 4096, }, diff --git a/lua/avante/config.lua b/lua/avante/config.lua index d82adce2..95f42b87 100644 --- a/lua/avante/config.lua +++ b/lua/avante/config.lua @@ -59,7 +59,7 @@ Respect and use existing conventions, libraries, etc that are already present in ---@type AvanteSupportedProvider claude = { endpoint = "https://api.anthropic.com", - model = "claude-3-5-sonnet-20240620", + model = "claude-3-5-sonnet-20241022", timeout = 30000, -- Timeout in milliseconds temperature = 0, max_tokens = 8000,