File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import dotenv from "dotenv";
1212
1313dotenv . config ( ) ; // load environment variables from .env
1414
15+ const ANTHROPIC_MODEL = "claude-sonnet-4-5" ;
1516const ANTHROPIC_API_KEY = process . env . ANTHROPIC_API_KEY ;
1617if ( ! ANTHROPIC_API_KEY ) {
1718 throw new Error ( "ANTHROPIC_API_KEY is not set" ) ;
@@ -92,7 +93,7 @@ class MCPClient {
9293
9394 // Initial Claude API call
9495 const response = await this . anthropic . messages . create ( {
95- model : "claude-sonnet-4-5" ,
96+ model : ANTHROPIC_MODEL ,
9697 max_tokens : 1000 ,
9798 messages,
9899 tools : this . tools ,
@@ -125,7 +126,7 @@ class MCPClient {
125126
126127 // Get next response from Claude
127128 const response = await this . anthropic . messages . create ( {
128- model : "claude-sonnet-4-5" ,
129+ model : ANTHROPIC_MODEL ,
129130 max_tokens : 1000 ,
130131 messages,
131132 } ) ;
You can’t perform that action at this time.
0 commit comments