Azure / Azure/azure-sdk-for-python

azure.ai.agents -> AgentsClient Class -> "type": "knowledge" instead of "type": "function"

Open
#43,894 3 comments 0 reactions 0 assignees View on GitHub
AI Projects customer-reported needs-team-attention question Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

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",

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.