We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 686a1ba commit b2a75d6Copy full SHA for b2a75d6
src/llama_stack_client/lib/agents/react/agent.py
@@ -83,7 +83,7 @@ def get_tool_defs():
83
model=model,
84
instructions=instruction,
85
toolgroups=builtin_toolgroups,
86
- client_tools=[client_tool.get_tool_definition() for client_tool in client_tools],
+ client_tools=client_tools,
87
tool_config={
88
"tool_choice": "auto",
89
"tool_prompt_format": "json" if "3.1" in model else "python_list",
@@ -105,6 +105,5 @@ def get_tool_defs():
105
super().__init__(
106
client=client,
107
agent_config=agent_config,
108
- client_tools=client_tools,
109
tool_parser=tool_parser,
110
)
0 commit comments