Skip to content

Commit 74ccaff

Browse files
committed
fix: mypy errors
1 parent 1705402 commit 74ccaff

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/abi/services/agent/Agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,7 @@ def call_model(
837837
and hasattr(response, "tool_calls")
838838
and len(response.tool_calls) > 0
839839
):
840-
tool_names = [tool_call["name"] for tool_call in response.tool_calls]
841-
logger.debug(f"⏩ Calling tools")
840+
logger.debug("⏩ Calling tools")
842841
# TODO: Rethink this.
843842
# This is done to prevent an LLM to call multiple tools at once.
844843
# It's important because, as some tools are subgraphs, and that we are passing the full state, the subgraph will be able to mess with the state.

0 commit comments

Comments
 (0)