Python: Remove duplicate samples#3899
Merged
moonbox3 merged 7 commits intomicrosoft:mainfrom Feb 12, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes duplicate sample files that were created during conflict resolution. The samples were duplicated in python/samples/getting_started/orchestrations/ and python/samples/02-agents/orchestrations/ directories, with the canonical versions residing in python/samples/03-workflows/orchestrations/.
Changes:
- Deleted 15 duplicate sample files from
getting_startedand02-agentsdirectories - Cleaned up
handoff_with_code_interpreter_file.pyto remove V1/V2 client toggle logic and standardize on V2 client (AzureOpenAIResponsesClient) - Simplified the sample to use a single client approach instead of the conditional V1/V2 pattern
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
python/samples/getting_started/orchestrations/handoff/handoff_with_code_interpreter_file.py |
Deleted duplicate of handoff sample |
python/samples/02-agents/orchestrations/sequential_custom_executors.py |
Deleted duplicate sequential custom executors sample |
python/samples/02-agents/orchestrations/sequential_agents.py |
Deleted duplicate sequential agents sample |
python/samples/02-agents/orchestrations/magentic_human_plan_review.py |
Deleted duplicate magentic plan review sample |
python/samples/02-agents/orchestrations/magentic_checkpoint.py |
Deleted duplicate magentic checkpoint sample |
python/samples/02-agents/orchestrations/magentic.py |
Deleted duplicate magentic orchestration sample |
python/samples/02-agents/orchestrations/handoff_with_code_interpreter_file.py |
Deleted duplicate handoff with code interpreter sample |
python/samples/02-agents/orchestrations/handoff_simple.py |
Deleted duplicate simple handoff sample |
python/samples/02-agents/orchestrations/handoff_autonomous.py |
Deleted duplicate autonomous handoff sample |
python/samples/02-agents/orchestrations/group_chat_simple_selector.py |
Deleted duplicate group chat selector sample |
python/samples/02-agents/orchestrations/group_chat_philosophical_debate.py |
Deleted duplicate philosophical debate sample |
python/samples/02-agents/orchestrations/group_chat_agent_manager.py |
Deleted duplicate group chat manager sample |
python/samples/02-agents/orchestrations/concurrent_custom_aggregator.py |
Deleted duplicate concurrent aggregator sample |
python/samples/02-agents/orchestrations/concurrent_custom_agent_executors.py |
Deleted duplicate concurrent executors sample |
python/samples/02-agents/orchestrations/concurrent_agents.py |
Deleted duplicate concurrent agents sample |
python/samples/02-agents/orchestrations/README.md |
Deleted duplicate README |
python/samples/03-workflows/orchestrations/handoff_with_code_interpreter_file.py |
Cleaned up to remove V1/V2 client toggle, standardized on V2 AzureOpenAIResponsesClient, fixed duplicate condition check |
eavanvalkenburg
approved these changes
Feb 12, 2026
Member
moonbox3
approved these changes
Feb 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
We have duplicated samples in the repository. This is the aftermath of resolving large number of conflicts.
Description
Remove duplicated samples.
Contribution Checklist