Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11,<4.0"
dependencies = [
"langgraph>=0.6.6,<0.7.0",
"langgraph>=1.0.0",
"langchain-openai>=0.1.22",
"langchain-anthropic>=0.1.23",
"langchain>=0.2.14",
Expand Down
2 changes: 1 addition & 1 deletion src/react_agent/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Context:
)

model: Annotated[str, {"__template_metadata__": {"kind": "llm"}}] = field(
default="anthropic/claude-3-5-sonnet-20240620",
default="anthropic/claude-4-5",
metadata={
"description": "The name of the language model to use for the agent's main interactions. "
"Should be in the form: provider/model-name."
Expand Down
2 changes: 1 addition & 1 deletion src/react_agent/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def call_model(
)

# Get the model's response
response = cast(
response = cast( # type: ignore[redundant-cast]
AIMessage,
await model.ainvoke(
[{"role": "system", "content": system_message}, *state.messages]
Expand Down
2 changes: 1 addition & 1 deletion src/react_agent/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from typing import Any, Callable, List, Optional, cast

from langchain_tavily import TavilySearch # type: ignore[import-not-found]
from langchain_tavily import TavilySearch
from langgraph.runtime import get_runtime

from react_agent.context import Context
Expand Down