-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
- azure-ai-agents:
- 1.1:
- Linux:
- 3.13:
Describe the bug
azure.ai.agents -> AgentsClient Class -> enable_auto_function_calls is calling "type": "knowledge" tool instead of "type": "function"
I have seen this in the Internet already but not sure if this was reported by anyone here as well. I got today a few times response like below but before it was always "type":"function" which works fine. No idea why now Azure AI Foundry started calling "knowledge" when it is not even imported and return just (data: {"event_type": "thread.run.completed",) after it without any message.
from azure.ai.agents.models import FunctionTool, ToolSet
functions = FunctionTool(user_functions)
toolset = ToolSet()
toolset.add(functions)
data: {"type": "tool_calls", "step_id": " ....... "tool_calls": [{"_data": {"id": "call_Do8FyDBiajUrga7gLOX0SbJk", "type": "knowledge", "tool_call": {"arguments":
data: {"event_type": "thread.run.completed",
data: {"event_type": "done",