Skip to content

Python: Support Auto Function Invocation Filter for AzureAIAgent and OpenAIAssistantAgent #11460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 10, 2025

Conversation

moonbox3
Copy link
Contributor

@moonbox3 moonbox3 commented Apr 9, 2025

Motivation and Context

The server-side agents like AzureAIAgent and OpenAIAssistantAgent do not support the Auto function invocation filter. Although we return intermediate step results, like FunctionResultContent, as part of the on_intermediate_steps callback, this didn't allow for developers to configure a filter to return the result as-is, or modify the result as part of the filter.

Description

Add support for the auto function invocation filter for the AzureAIAgent and OpenAIAssistantAgent.

Contribution Checklist

@moonbox3 moonbox3 requested a review from a team as a code owner April 9, 2025 06:03
@moonbox3 moonbox3 self-assigned this Apr 9, 2025
@moonbox3 moonbox3 added the agents label Apr 9, 2025
@markwallace-microsoft markwallace-microsoft added the python Pull requests for the Python Semantic Kernel label Apr 9, 2025
@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Apr 9, 2025

Python Unit Test Overview

Tests Skipped Failures Errors Time
3418 5 💤 0 ❌ 0 🔥 1m 40s ⏱️

@moonbox3 moonbox3 enabled auto-merge April 10, 2025 00:23
@moonbox3 moonbox3 added this pull request to the merge queue Apr 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 10, 2025
@moonbox3 moonbox3 added this pull request to the merge queue Apr 10, 2025
Merged via the queue into microsoft:main with commit 6f35b62 Apr 10, 2025
28 checks passed
@moonbox3 moonbox3 deleted the agent-func-filter branch April 10, 2025 00:46
@github-project-automation github-project-automation bot moved this to Sprint: Done in Semantic Kernel Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents documentation python Pull requests for the Python Semantic Kernel
Projects
Status: Sprint: Done
4 participants