Skip to content

Commit

Permalink
fix code error in the agent tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
liyin2015 committed Jul 11, 2024
1 parent 159b949 commit c514605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Documentation
on:
push:
branches:
- release # Trigger the workflow when changes are pushed to the release branch
- li # Trigger the workflow when changes are pushed to the release branch

permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions docs/source/developer_notes/agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ Now, let's run the test function to see the agent in action.

.. code-block:: python
test_react_agent(ModelClientType.GROQ, llama3_model_kwargs)
test_react_agent(ModelClientType.OPENAI, gpt_model_kwargs)
test_react_agent(ModelClientType.GROQ(), llama3_model_kwargs)
test_react_agent(ModelClientType.OPENAI(), gpt_model_kwargs)
Our agent will show the core steps for developers via colored printout, including input_query, steps, and the final answer.
The printout of the first query with llama3 is shown below (without the color here):
Expand Down

0 comments on commit c514605

Please sign in to comment.