Skip to content

Commit 2671107

Browse files
authored
fix react agent (#172)
Change the apps repo to reflect this -- https://github.com/meta-llama/llama-stack-apps/pull/188/files ``` python -m examples.agents.react_agent localhost 8321 ```
1 parent ce3b30f commit 2671107

File tree

1 file changed

+1
-1
lines changed
  • src/llama_stack_client/lib/agents/react

1 file changed

+1
-1
lines changed

src/llama_stack_client/lib/agents/react/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get_tool_defs():
9797
agent_config = custom_agent_config
9898

9999
if json_response_format:
100-
agent_config.response_format = {
100+
agent_config["response_format"] = {
101101
"type": "json_schema",
102102
"json_schema": ReActOutput.model_json_schema(),
103103
}

0 commit comments

Comments
 (0)