-
Notifications
You must be signed in to change notification settings - Fork 892
Python: Rebase durable task feature branch with main #2806
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
base: feature-durabletask-python
Are you sure you want to change the base?
Python: Rebase durable task feature branch with main #2806
Conversation
…osoft#2738) * Add factory pattern to concurrent orchestration builder * Update readme * Address AI comments * Fix unit tests * Fix import * Prevent multiple calls to set participants or factories * Add comments * Mitigate warnings * Fix mypy * Address comments * Address Copilot comments * Fix tests
…I Structured Outpu… (microsoft#2750) * fix: ManagerSelectionResponse JSON Schema for OpenAI Structured Output Strict Mode * refactor: install pre-commit then commit again
* prevent nulls in AIAgent property * address feedback
Co-authored-by: Mark Wallace <[email protected]>
* Initial plan * Add Agent_OpenAI_Step05_Conversation sample for conversation state management Co-authored-by: rogerbarreto <[email protected]> * Update Program.cs comment to accurately describe the sample Co-authored-by: rogerbarreto <[email protected]> * Update the code to use the ConversationClient more in line with the samples in OpenAI * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * Changing sample to use ChatClientAgent and conversationId in GetNewThread --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rogerbarreto <[email protected]> Co-authored-by: Copilot <[email protected]>
…ft#2777) --- updated-dependencies: - dependency-name: AWSSDK.Extensions.Bedrock.MEAI dependency-version: 4.0.4.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--- updated-dependencies: - dependency-name: Azure.Identity dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Azure.Identity dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Azure.Identity dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Azure.Identity dependency-version: 1.17.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…eta.5 (microsoft#2778) --- updated-dependencies: - dependency-name: Azure.AI.AgentServer.AgentFramework dependency-version: 1.0.0-beta.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Azure.AI.AgentServer.AgentFramework dependency-version: 1.0.0-beta.5 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: Azure.AI.AgentServer.AgentFramework dependency-version: 1.0.0-beta.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#2756) * added more complete parsing for mcp tool arguments * fixed mypy * added nonlocal model counter, and some fixes * fixes in naming logic * extracted json parsing function, added parametrized test and checked coverage
* Updated package versions * Small fix
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris <[email protected]>
There was a problem hiding this 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 pull request represents a rebase with the main branch, updating the version from 1.0.0b251209 to 1.0.0b251211. It includes several feature additions, bug fixes, and dependency updates across both Python and C# codebases.
Key Changes:
- Added factory pattern support for concurrent and sequential orchestration builders
- Enhanced file ID capture from code interpreter in streaming responses
- Improved MCP tool argument parsing with support for nested objects, typed arrays, and $ref resolution
- Refactored C# AIAgent.Id property to use protected IdCore pattern with C# 13 field initializer
- Updated GitHub Actions workflows and package dependencies
Reviewed changes
Copilot reviewed 73 out of 74 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| python/CHANGELOG.md | Added changelog entries for version 1.0.0b251211 release |
| python/pyproject.toml | Version bump and dependency updates |
| python/packages/*/pyproject.toml | Consistent version updates across all packages |
| python/packages/core/pyproject.toml | Updated mcp dependency from >=1.13 to >=1.23 |
| python/packages/core/agent_framework/_tools.py | Added _build_pydantic_model_from_json_schema for comprehensive JSON schema parsing |
| python/packages/core/agent_framework/_mcp.py | Refactored to use new JSON schema builder |
| python/packages/core/agent_framework/openai/_responses_client.py | Added streaming annotation support for file content |
| python/packages/core/agent_framework/_workflows/_concurrent.py | Added register_participants and register_aggregator factory methods |
| python/packages/core/agent_framework/_workflows/_workflow_builder.py | Enhanced duplicate executor ID detection |
| python/packages/core/agent_framework/_workflows/_group_chat.py | Fixed ManagerSelectionResponse JSON schema for OpenAI strict mode |
| python/packages/azure-ai/agent_framework_azure_ai/_chat_client.py | Added _extract_file_path_contents for code interpreter file handling |
| python/samples/.../concurrent_participant_factory.py | New sample demonstrating participant factory pattern |
| python/samples/.../handoff_with_code_interpreter_file.py | New sample for file generation in handoff workflows |
| python/samples/.../azure_ai_with_code_interpreter_file_generation.py | New samples for both V1 and V2 Azure AI clients |
| dotnet/src/Microsoft.Agents.AI.Abstractions/AIAgent.cs | Refactored Id property to use protected IdCore with field initializer |
| dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step05_Conversation/ | New sample demonstrating conversation state management |
| dotnet/Directory.Packages.props | Updated Azure.Identity and AWSSDK.Extensions.Bedrock.MEAI versions |
| .github/workflows/*.yml | Updated actions/checkout from v5 to v6 |
Motivation and Context
Description
Contribution Checklist