Skip to content

Comments

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

Merged
TaoChenOSU merged 1 commit intomicrosoft:mainfrom
TaoChenOSU:taochen/python-fix-workflow-samples-part-2
Feb 19, 2026
Merged

Python: Fix workflow samples for bugbash: part 2#4061
TaoChenOSU merged 1 commit intomicrosoft:mainfrom
TaoChenOSU:taochen/python-fix-workflow-samples-part-2

Conversation

@TaoChenOSU
Copy link
Contributor

@TaoChenOSU TaoChenOSU commented Feb 19, 2026

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 TaoChenOSU self-assigned this Feb 19, 2026
Copilot AI review requested due to automatic review settings February 19, 2026 00:54
@TaoChenOSU TaoChenOSU added python samples Issue relates to the 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
@TaoChenOSU TaoChenOSU enabled auto-merge February 19, 2026 00:56
Copy link
Contributor

Copilot AI left a comment

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 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 samples Issue relates to the samples

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants