Skip to content

Commit c26b20a

Browse files
shams858Shamsul Arefin
and
Shamsul Arefin
authored
feat: Add support for claude sonnet 3.5 model through Amazon bedrock (#174)
Co-authored-by: Shamsul Arefin <[email protected]>
1 parent 346522c commit c26b20a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/core/llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
GroqModelName.LLAMA_33_70B: "llama-3.3-70b-versatile",
4040
GroqModelName.LLAMA_GUARD_3_8B: "llama-guard-3-8b",
4141
AWSModelName.BEDROCK_HAIKU: "anthropic.claude-3-5-haiku-20241022-v1:0",
42+
AWSModelName.BEDROCK_SONNET: "anthropic.claude-3-5-sonnet-20240620-v1:0",
4243
OllamaModelName.OLLAMA_GENERIC: "ollama",
4344
FakeModelName.FAKE: "fake",
4445
}

src/schema/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class AWSModelName(StrEnum):
6161
"""https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html"""
6262

6363
BEDROCK_HAIKU = "bedrock-3.5-haiku"
64+
BEDROCK_SONNET = "bedrock-3.5-sonnet"
6465

6566

6667
class OllamaModelName(StrEnum):

0 commit comments

Comments
 (0)