Skip to content
Open
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
8 changes: 4 additions & 4 deletions core-concept/agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The core idea of ReACT is to alternate between reasoning ("Thought") and acting
# Pseudocode
while not done:
get the model's next thought
take an action based upon the though
take an action based upon the thought
choose arguments for the selection action
observe the toll output
observe the tool output
check if a final answer can be obtained
return the final answer
```
Expand Down Expand Up @@ -81,7 +81,7 @@ def react(

print("### Action")
act = m.chat(
"Choose your next action. Respond with a nothing other than a tool name.",
"Choose your next action. Respond with nothing other than a tool name.",
format=react_toolbox.tool_name_schema(),
)
selected_tool: ReactTool = react_toolbox.get_tool_from_schema(act.content)
Expand Down Expand Up @@ -119,7 +119,7 @@ def react(

</CodeGroup>

The example implementation needs some helper classes which even allows tool calling:
The example implementation needs some helper classes which allow tool calling:

<CodeGroup>
```python Python
Expand Down