File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,12 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
191191 private guessModelInfoFromId ( modelId : string ) : Partial < SharedModelInfo > {
192192 // Define a mapping for model ID patterns and their configurations
193193 const modelConfigMap : Record < string , Partial < SharedModelInfo > > = {
194+ "claude-4" : {
195+ maxTokens : 8192 ,
196+ contextWindow : 200_000 ,
197+ supportsImages : true ,
198+ supportsPromptCache : true ,
199+ } ,
194200 "claude-3-7" : {
195201 maxTokens : 8192 ,
196202 contextWindow : 200_000 ,
@@ -203,6 +209,12 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
203209 supportsImages : true ,
204210 supportsPromptCache : true ,
205211 } ,
212+ "claude-4-opus" : {
213+ maxTokens : 4096 ,
214+ contextWindow : 200_000 ,
215+ supportsImages : true ,
216+ supportsPromptCache : true ,
217+ } ,
206218 "claude-3-opus" : {
207219 maxTokens : 4096 ,
208220 contextWindow : 200_000 ,
You can’t perform that action at this time.
0 commit comments