Skip to content

Python: Add chat completion agent code interpreter sample #12393

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

Conversation

TaoChenOSU
Copy link
Contributor

@TaoChenOSU TaoChenOSU commented Jun 5, 2025

Motivation and Context

Closing #10962

Description

  1. Add a sample to demonstrate how to create a chat completion agent with code interpreter capabilities using the Azure Container Apps session pool service.
  2. Fix a bug that cause the session tool to throw because the upload API doesn't return the file uploaded.
  3. Modify unit tests accordingly.

Contribution Checklist

@TaoChenOSU TaoChenOSU self-assigned this Jun 5, 2025
@TaoChenOSU TaoChenOSU added the python Pull requests for the Python Semantic Kernel label Jun 5, 2025
@TaoChenOSU TaoChenOSU requested a review from a team as a code owner June 5, 2025 21:23
@TaoChenOSU TaoChenOSU changed the title Add chat completion agent code interpreter sample Python: Add chat completion agent code interpreter sample Jun 5, 2025
@markwallace-microsoft
Copy link
Member

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
core_plugins/sessions_python_tool
   sessions_python_plugin.py134894%69, 82, 84–85, 87, 89, 91, 99
TOTAL27106461982% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
3624 22 💤 0 ❌ 0 🔥 2m 2s ⏱️

@TaoChenOSU TaoChenOSU added this pull request to the merge queue Jun 6, 2025
Merged via the queue into main with commit 2f84e5d Jun 6, 2025
35 of 55 checks passed
@TaoChenOSU TaoChenOSU deleted the taochen/python_chat_completion_agent_code_interpreter_sample branch June 6, 2025 18:29
@github-project-automation github-project-automation bot moved this to Sprint: Done in Semantic Kernel Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents python Pull requests for the Python Semantic Kernel
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants