Python: [BREAKING] Update naming of AgentRunResponse to AgentResponse#3202
Closed
eavanvalkenburg wants to merge 0 commit intomicrosoft:mainfrom
Closed
Python: [BREAKING] Update naming of AgentRunResponse to AgentResponse#3202eavanvalkenburg wants to merge 0 commit intomicrosoft:mainfrom
eavanvalkenburg wants to merge 0 commit intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request implements a breaking change to rename AgentRunResponse to AgentResponse and AgentRunResponseUpdate to AgentResponseUpdate across the Python codebase to align with the .NET implementation naming conventions.
Changes:
- Renamed core types
AgentRunResponse→AgentResponseandAgentRunResponseUpdate→AgentResponseUpdate - Updated all imports, type annotations, and references across the entire Python codebase
- Updated documentation strings, comments, and examples to reflect the new naming
Reviewed changes
Copilot reviewed 121 out of 121 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
python/packages/core/agent_framework/_types.py |
Core type definitions renamed with updated class names, docstrings, and serialization type strings |
python/packages/core/agent_framework/_agents.py |
Updated agent protocol and ChatAgent implementation with new type names |
python/packages/core/agent_framework/_middleware.py |
Updated middleware context and pipeline to use new type names |
python/packages/core/agent_framework/observability.py |
Updated tracing decorators and helper functions |
python/packages/core/agent_framework/_workflows/*.py |
Updated workflow-related files including agent executor, workflow agent, magentic, handoff, group chat, and concurrent builders |
| Sample files | Updated all samples across getting_started, semantic-kernel-migration, azure_functions, and demo directories |
| Test files | Updated all test files across core, workflow, azure, openai, and package-specific tests |
| Package files | Updated azurefunctions, copilotstudio, chatkit, bedrock, purview, devui, and other package implementations |
dbe0c34 to
655a59a
Compare
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
In line with dotnet, renaming
AgentRunResponsetoAgentResponseandAgentRunResponseUpdatetoAgentResponseUpdateDescription
Contribution Checklist