Skip to content

Commit

Permalink
docs: update custom tool call snippet (#2754)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda authored Dec 13, 2024
1 parent 980b592 commit 4c3958f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/concepts/multi_agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This is a special case of updating the graph state from tools where in addition
```python
def call_tools(state):
...
commands = [tools_by_name[call["name"].invoke(call, config={"coerce_tool_content": False}) for tool_call in tool_calls]
commands = [tools_by_name[tool_call["name"]].invoke(tool_call) for tool_call in tool_calls]
return commands
```

Expand Down

0 comments on commit 4c3958f

Please sign in to comment.