From e9d8042d5ec5f14955b54d5d12c8b25dfcec25a1 Mon Sep 17 00:00:00 2001 From: Eric Huang Date: Thu, 6 Mar 2025 15:08:46 -0800 Subject: [PATCH] fix(agent): initialize toolgroups/client_tools Summary: Test Plan: --- src/llama_stack_client/lib/agents/agent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/llama_stack_client/lib/agents/agent.py b/src/llama_stack_client/lib/agents/agent.py index 90356b0e..fc2711a4 100644 --- a/src/llama_stack_client/lib/agents/agent.py +++ b/src/llama_stack_client/lib/agents/agent.py @@ -86,6 +86,8 @@ def __init__( agent_config = { "model": model, "instructions": instructions, + "toolgroups": [], + "client_tools": [], } # Add optional parameters if provided