Skip to content

Commit fd8ee72

Browse files
committed
fix custome-toolset flag
1 parent 06ad10c commit fd8ee72

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • src/aks-preview/azext_aks_preview/agent

src/aks-preview/azext_aks_preview/agent/agent.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ def aks_agent(
115115
model=model,
116116
api_key=api_key,
117117
max_steps=max_steps,
118-
custom_toolsets_from_cli=custom_toolsets,
118+
custom_toolsets_from_cli=(
119+
[custom_toolsets] if custom_toolsets is not None else None
120+
),
119121
)
120122

121123
ai = config.create_console_toolcalling_llm(

0 commit comments

Comments
 (0)