Skip to content

Python: Fix workflow samples for bugbash: part 2 - #4061

Merged
Tao Chen (TaoChenOSU) merged 1 commit into
microsoft:mainfrom
TaoChenOSU:taochen/python-fix-workflow-samples-part-2
Feb 19, 2026
Merged

Tao Chen (TaoChenOSU) merged 1 commit into
microsoft:mainfrom
TaoChenOSU:taochen/python-fix-workflow-samples-part-2

Conversation

@TaoChenOSU

@TaoChenOSU Tao Chen (TaoChenOSU) commented Feb 19, 2026 •

Copy link
Copy Markdown
Contributor

Motivation and Context

Part 2 of fixing workflow samples from bugbash

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

@TaoChenOSU Tao Chen (TaoChenOSU) self-assigned this Feb 19, 2026
Copilot AI review requested due to automatic review settings February 19, 2026 00:54
@TaoChenOSU Tao Chen (TaoChenOSU) added python Usage: [Issues, PRs], Target: Python samples labels Feb 19, 2026
@github-actions github-actions Bot changed the title Fix workflow samples for bugbash: part 2 Python: Fix workflow samples for bugbash: part 2 Feb 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR contains cleanup and bugfixes for workflow samples following a bugbash. The changes remove unused code, improve output formatting, and add important model compatibility warnings for samples that require specific GPT models.

Changes:

  • Removed unused AgentResponseUpdate import and streaming output handling from checkpoint resume sample
  • Simplified debug output by removing redundant agent_id printing and type annotations
  • Added model compatibility warnings (gpt-5.1 requirement and gpt-5-mini failure notes) to two samples
  • Improved output formatting with additional newline spacing

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
python/samples/03-workflows/orchestrations/handoff_with_tool_approval_checkpoint_resume.py Removed unused AgentResponseUpdate import/handling, simplified debug output, improved formatting with newline
python/samples/03-workflows/declarative/customer_support/main.py Added model compatibility comments warning about gpt-5.1 requirement and gpt-5-mini issues
python/samples/03-workflows/agents/azure_chat_agents_tool_calls_with_feedback.py Added model compatibility comments warning about gpt-5.1 requirement and gpt-5-mini issues

@TaoChenOSU
Tao Chen (TaoChenOSU) added this pull request to the merge queue Feb 19, 2026
Merged via the queue into microsoft:main with commit 396807a Feb 19, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Usage: [Issues, PRs], Target: Python

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants