fix(bedrock): improve stream handling and type safety

- Fix TypeScript error in ConverseStreamCommand payload
- Add proper JSON parsing for test stream events
- Improve error handling with proper Error objects
- Add test-specific model info with required fields
- Fix cross-region inference and prompt cache config
This commit is contained in:
Cline
2024-12-10 21:44:50 +02:00
parent 140318cecd
commit 51a57d5bbf
3 changed files with 128 additions and 38 deletions

View File

@@ -22,7 +22,7 @@ export interface ApiHandlerOptions {
awsSessionToken?: string
awsRegion?: string
awsUseCrossRegionInference?: boolean
awsusePromptCache?: boolean
awsUsePromptCache?: boolean
awspromptCacheId?: string
vertexProjectId?: string
vertexRegion?: string