Skip to content
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

Python: add AzureAIAgent client creation method. Handle user_agent. #10538

Merged
merged 3 commits into from
Feb 14, 2025

Conversation

moonbox3
Copy link
Contributor

@moonbox3 moonbox3 commented Feb 14, 2025

Motivation and Context

We weren't sending the user_agent as part of client creation for the AzureAIAgent. Create a convenience class method to create the AIProjectClient, which handles creating the user_agent.

Description

This PR:

Contribution Checklist

@moonbox3 moonbox3 self-assigned this Feb 14, 2025
@moonbox3 moonbox3 requested a review from a team as a code owner February 14, 2025 02:51
@markwallace-microsoft markwallace-microsoft added python Pull requests for the Python Semantic Kernel documentation labels Feb 14, 2025
@markwallace-microsoft
Copy link
Member

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
semantic_kernel/agents/azure_ai
   agent_content_generation.py1452086%68–71, 89, 91, 286, 338–370
   azure_ai_agent.py861088%96, 98, 104, 113–118, 120, 122, 186, 246
semantic_kernel/connectors/ai/open_ai/settings
   azure_open_ai_settings.py24483%111–114
TOTAL18781223088% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
3200 5 💤 0 ❌ 0 🔥 1m 52s ⏱️

@TaoChenOSU TaoChenOSU added this pull request to the merge queue Feb 14, 2025
Merged via the queue into microsoft:main with commit 76d101e Feb 14, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation python Pull requests for the Python Semantic Kernel
Projects
Status: Sprint: Done
4 participants