File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ export const getModelId = (settings: ProviderSettings): string | undefined => {
301301}
302302
303303// Providers that use Anthropic-style API protocol
304- export const ANTHROPIC_STYLE_PROVIDERS : ProviderName [ ] = [ "anthropic" , "claude-code" ]
304+ export const ANTHROPIC_STYLE_PROVIDERS : ProviderName [ ] = [ "anthropic" , "claude-code" , "bedrock" ]
305305
306306// Helper function to determine API protocol for a provider
307307export const getApiProtocol = ( provider : ProviderName | undefined ) : "anthropic" | "openai" => {
Original file line number Diff line number Diff line change @@ -1214,7 +1214,7 @@ export class Task extends EventEmitter<ClineEvents> {
12141214
12151215 // Determine API protocol based on provider and model
12161216 const modelId = getModelId ( this . apiConfiguration )
1217- const apiProtocol = getApiProtocol ( this . apiConfiguration . apiProvider , modelId )
1217+ const apiProtocol = getApiProtocol ( this . apiConfiguration . apiProvider )
12181218
12191219 await this . say (
12201220 "api_req_started" ,
You can’t perform that action at this time.
0 commit comments