Skip to content

Commit 458e207

Browse files
authored
fix(agent): initialize toolgroups/client_tools (#186)
Summary: otherwise errors on L127 Test Plan: py.test -v -s --nbval-lax ./docs/getting_started.ipynb with llamastack/llama-stack#1402
1 parent aaff961 commit 458e207

File tree

1 file changed

+2
-0
lines changed
  • src/llama_stack_client/lib/agents

1 file changed

+2
-0
lines changed

src/llama_stack_client/lib/agents/agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def __init__(
8686
agent_config = {
8787
"model": model,
8888
"instructions": instructions,
89+
"toolgroups": [],
90+
"client_tools": [],
8991
}
9092

9193
# Add optional parameters if provided

0 commit comments

Comments
 (0)