Skip to content

Commit ceb1c6f

Browse files
committed
lint
1 parent 706c656 commit ceb1c6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/react_agent/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def call_model(
4242
)
4343

4444
# Get the model's response
45-
response = cast(
45+
response = cast( # type: ignore[redundant-cast]
4646
AIMessage,
4747
await model.ainvoke(
4848
[{"role": "system", "content": system_message}, *state.messages]

src/react_agent/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

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

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

1414
from react_agent.context import Context

0 commit comments

Comments
 (0)