replace claude-3-5-sonnet-20241022 with claude-3-7-sonnet-latest
This commit is contained in:
parent
dfc92478e2
commit
7886d3c1be
2 changed files with 4 additions and 4 deletions
|
|
@ -64,7 +64,7 @@ class MCPClient:
|
||||||
|
|
||||||
# Initial Claude API call
|
# Initial Claude API call
|
||||||
response = self.anthropic.messages.create(
|
response = self.anthropic.messages.create(
|
||||||
model="claude-3-5-sonnet-20241022",
|
model="claude-3-7-sonnet-latest",
|
||||||
max_tokens=1000,
|
max_tokens=1000,
|
||||||
messages=messages,
|
messages=messages,
|
||||||
tools=available_tools
|
tools=available_tools
|
||||||
|
|
@ -97,7 +97,7 @@ class MCPClient:
|
||||||
|
|
||||||
# Get next response from Claude
|
# Get next response from Claude
|
||||||
response = self.anthropic.messages.create(
|
response = self.anthropic.messages.create(
|
||||||
model="claude-3-5-sonnet-20241022",
|
model="claude-3-7-sonnet-latest",
|
||||||
max_tokens=1000,
|
max_tokens=1000,
|
||||||
messages=messages,
|
messages=messages,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ class MCPClient {
|
||||||
|
|
||||||
// Initial Claude API call
|
// Initial Claude API call
|
||||||
const response = await this.anthropic.messages.create({
|
const response = await this.anthropic.messages.create({
|
||||||
model: "claude-3-5-sonnet-20241022",
|
model: "claude-3-7-sonnet-latest",
|
||||||
max_tokens: 1000,
|
max_tokens: 1000,
|
||||||
messages,
|
messages,
|
||||||
tools: this.tools,
|
tools: this.tools,
|
||||||
|
|
@ -127,7 +127,7 @@ class MCPClient {
|
||||||
|
|
||||||
// Get next response from Claude
|
// Get next response from Claude
|
||||||
const response = await this.anthropic.messages.create({
|
const response = await this.anthropic.messages.create({
|
||||||
model: "claude-3-5-sonnet-20241022",
|
model: "claude-3-7-sonnet-latest",
|
||||||
max_tokens: 1000,
|
max_tokens: 1000,
|
||||||
messages,
|
messages,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue