Skip to content

Commit 3409487

Browse files
committed
feat: add claude 3.5 sonnet among default agents
1 parent 87c94be commit 3409487

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

lua/gp/config.lua

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ local config = {
152152
-- system prompt (use this to specify the persona/role of the AI)
153153
system_prompt = default_chat_system_prompt,
154154
},
155+
{
156+
provider = "anthropic",
157+
name = "ChatClaude-3-5-Sonnet",
158+
chat = true,
159+
command = false,
160+
-- string with model name or table with model name and parameters
161+
model = { model = "claude-3-5-sonnet-20240620", temperature = 0.8, top_p = 1 },
162+
-- system prompt (use this to specify the persona/role of the AI)
163+
system_prompt = default_chat_system_prompt,
164+
},
155165
{
156166
provider = "anthropic",
157167
name = "ChatClaude-3-Haiku",
@@ -238,6 +248,15 @@ local config = {
238248
model = { model = "mixtral-8x7b-instruct", temperature = 0.8, top_p = 1 },
239249
system_prompt = default_code_system_prompt,
240250
},
251+
{
252+
provider = "anthropic",
253+
name = "CodeClaude-3-5-Sonnet",
254+
chat = false,
255+
command = true,
256+
-- string with model name or table with model name and parameters
257+
model = { model = "claude-3-5-sonnet-20240620", temperature = 0.8, top_p = 1 },
258+
system_prompt = default_code_system_prompt,
259+
},
241260
{
242261
provider = "anthropic",
243262
name = "CodeClaude-3-Haiku",

0 commit comments

Comments
 (0)