Skip to content

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

@PRO043AI

Description

@PRO043AI
  • 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",

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI ProjectsMachine LearningService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions