Skip to content

Commit c20b0b4

Browse files
committed
default to bedrock profile for backwards compatibility
1 parent 48353e6 commit c20b0b4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/llm/llms/Bedrock.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class Bedrock extends BaseLLM {
2929
}
3030
if (options.profile) {
3131
this.profile = options.profile;
32+
} else {
33+
this.profile = "bedrock";
3234
}
3335
}
3436

core/llm/llms/BedrockImport.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class BedrockImport extends BaseLLM {
2929
}
3030
if (options.profile) {
3131
this.profile = options.profile;
32+
} else {
33+
this.profile = "bedrock";
3234
}
3335
}
3436

0 commit comments

Comments
 (0)