Skip to content

Commit 23fbbb9

Browse files
committed
fix bedrock version api
1 parent d75043d commit 23fbbb9

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ dependencies = [
2929
"google-genai==1.57.0",
3030
"langchain-google-genai==4.1.3",
3131
"langchain-mcp-adapters==0.2.1",
32-
"typing-extensions==4.15.0",
32+
"typing-extensions==4.15.0",
3333
"nltk==3.9.2",
3434
"rank_bm25==0.2.2",
3535
"fastapi==0.128.0",
3636
"uvicorn[standard]==0.35.0",
3737
"python-multipart==0.0.20",
3838
"streamlit>=1.40.0",
39-
"langchain-aws>=1.0.0",
39+
"langchain-aws==1.2.1",
4040
]
4141
[project.optional-dependencies]
4242
langfuse = ["langfuse==4.0.0"]

src/raglight/llm/bedrock_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def load(self) -> ChatBedrock:
6161
ChatBedrock: The LangChain Bedrock chat client.
6262
"""
6363
return ChatBedrock(
64-
model=self.model_name,
64+
model_id=self.model_name,
6565
region_name=self.region_name,
6666
)
6767

uv.lock

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)