@@ -49,7 +49,6 @@ describe("OpenRouter API", () => {
4949 "agentica-org/deepcoder-14b-preview:free" ,
5050 "aion-labs/aion-1.0" ,
5151 "aion-labs/aion-1.0-mini" ,
52- "anthropic/claude-3.7-sonnet" ,
5352 "anthropic/claude-3.7-sonnet:beta" ,
5453 "anthropic/claude-3.7-sonnet:thinking" ,
5554 "anthropic/claude-opus-4" ,
@@ -110,7 +109,6 @@ describe("OpenRouter API", () => {
110109 . map ( ( [ id , _ ] ) => id )
111110 . sort ( ) ,
112111 ) . toEqual ( [
113- "anthropic/claude-3.7-sonnet" ,
114112 "anthropic/claude-3.7-sonnet:beta" ,
115113 "anthropic/claude-3.7-sonnet:thinking" ,
116114 "anthropic/claude-opus-4" ,
@@ -125,7 +123,7 @@ describe("OpenRouter API", () => {
125123 ) . toEqual ( [ "anthropic/claude-3.7-sonnet:thinking" ] )
126124
127125 expect ( models [ "anthropic/claude-3.7-sonnet" ] ) . toEqual ( {
128- maxTokens : 64000 ,
126+ maxTokens : 8192 ,
129127 contextWindow : 200000 ,
130128 supportsImages : true ,
131129 supportsPromptCache : true ,
@@ -135,9 +133,8 @@ describe("OpenRouter API", () => {
135133 cacheReadsPrice : 0.3 ,
136134 description : expect . any ( String ) ,
137135 supportsComputerUse : true ,
138- supportsReasoningBudget : true ,
139- requiredReasoningBudget : false ,
140- supportsReasoningEffort : true ,
136+ supportsReasoningBudget : false ,
137+ supportsReasoningEffort : false ,
141138 supportedParameters : [ "max_tokens" , "temperature" , "reasoning" , "include_reasoning" ] ,
142139 } )
143140
@@ -178,7 +175,7 @@ describe("OpenRouter API", () => {
178175 { id : "anthropic/claude-3.5-sonnet-20240620" , maxTokens : 8192 } ,
179176 { id : "anthropic/claude-3.5-sonnet-20240620:beta" , maxTokens : 8192 } ,
180177 { id : "anthropic/claude-3.5-sonnet:beta" , maxTokens : 8192 } ,
181- { id : "anthropic/claude-3.7-sonnet" , maxTokens : 64000 } ,
178+ { id : "anthropic/claude-3.7-sonnet" , maxTokens : 8192 } ,
182179 { id : "anthropic/claude-3.7-sonnet:beta" , maxTokens : 128000 } ,
183180 { id : "anthropic/claude-3.7-sonnet:thinking" , maxTokens : 128000 } ,
184181 ] )
@@ -205,7 +202,6 @@ describe("OpenRouter API", () => {
205202 description : undefined ,
206203 supportsReasoningBudget : false ,
207204 supportsReasoningEffort : undefined ,
208- requiredReasoningBudget : false ,
209205 supportedParameters : undefined ,
210206 } ,
211207 "Google AI Studio" : {
@@ -220,7 +216,6 @@ describe("OpenRouter API", () => {
220216 description : undefined ,
221217 supportsReasoningBudget : false ,
222218 supportsReasoningEffort : undefined ,
223- requiredReasoningBudget : false ,
224219 supportedParameters : undefined ,
225220 } ,
226221 } )
0 commit comments