Просмотр исходного кода

feat: Add Amazon Nova 2 Lite model to Bedrock provider (#9830)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
roomote[bot] 2 месяцев назад
Родитель
Сommit
1be8a99b89
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      packages/types/src/providers/bedrock.ts

+ 15 - 0
packages/types/src/providers/bedrock.ts

@@ -68,6 +68,21 @@ export const bedrockModels = {
 		maxCachePoints: 1,
 		cachableFields: ["system"],
 	},
+	"amazon.nova-2-lite-v1:0": {
+		maxTokens: 65_535,
+		contextWindow: 1_000_000,
+		supportsImages: true,
+		supportsPromptCache: true,
+		supportsNativeTools: true,
+		inputPrice: 0.33,
+		outputPrice: 2.75,
+		cacheWritesPrice: 0,
+		cacheReadsPrice: 0.0825, // 75% less than input price
+		minTokensPerCachePoint: 1,
+		maxCachePoints: 1,
+		cachableFields: ["system"],
+		description: "Amazon Nova 2 Lite - Comparable to Claude Haiku 4.5",
+	},
 	"amazon.nova-micro-v1:0": {
 		maxTokens: 5000,
 		contextWindow: 128_000,