-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[AgentServer] sync from container_agent repo #43930
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: main
Are you sure you want to change the base?
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
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 PR syncs code from the container_agent repository, bumping three agentserver packages from version 1.0.0b1 to 1.0.0b2. The changes include bug fixes, code formatting improvements, environment variable standardization, and the addition of a conversation field to response objects.
- Version bumps for azure-ai-agentserver-langgraph, azure-ai-agentserver-core, and azure-ai-agentserver-agentframework from 1.0.0b1 to 1.0.0b2
- Code formatting fixes (removing extra spaces before type/mypy ignore comments)
- Refactoring of error message formatting with new
_format_errorhelper function - Environment variable name standardization for Application Insights
- ID generation format fix in FoundryIdGenerator
- Addition of conversation field to agent framework response output
Reviewed Changes
Copilot reviewed 14 out of 17 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/agentserver/azure-ai-agentserver-langgraph/azure/ai/agentserver/langgraph/models/response_event_generators/response_output_text_event_generator.py | Fixed code formatting by removing extra spaces before mypy ignore comments |
| sdk/agentserver/azure-ai-agentserver-langgraph/azure/ai/agentserver/langgraph/models/response_event_generators/response_event_generator.py | Fixed code formatting and added trailing comma for better style consistency |
| sdk/agentserver/azure-ai-agentserver-langgraph/azure/ai/agentserver/langgraph/models/response_event_generators/response_content_part_event_generator.py | Fixed code formatting by removing extra spaces before mypy ignore comments |
| sdk/agentserver/azure-ai-agentserver-langgraph/_version.py | Version bump from 1.0.0b1 to 1.0.0b2 |
| sdk/agentserver/azure-ai-agentserver-langgraph/CHANGELOG.md | Added changelog entry for 1.0.0b2 release |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/server/common/id_generator/foundry_id_generator.py | Changed ID generation format from {prefix}{entropy}{infix}{pkey} to {prefix}{infix}{pkey}{entropy} |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/server/common/agent_run_context.py | Fixed code formatting by removing extra spaces before type ignore comments |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/server/base.py | Added import for APPINSIGHT_CONNSTR_ENV_NAME, improved log messages, refactored error formatting with new _format_error helper function |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/logger.py | Introduced APPINSIGHT_CONNSTR_ENV_NAME constant and updated references to use it |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/constants.py | Removed APPLICATION_INSIGHTS_CONNECTION_STRING constant and changed ENABLE_APPLICATION_INSIGHTS_LOGGER value |
| sdk/agentserver/azure-ai-agentserver-core/_version.py | Version bump from 1.0.0b1 to 1.0.0b2 |
| sdk/agentserver/azure-ai-agentserver-core/CHANGELOG.md | Added changelog entry for 1.0.0b2 release |
| sdk/agentserver/azure-ai-agentserver-agentframework/azure/ai/agentserver/agentframework/models/agent_framework_output_streaming_converter.py | Added conversation field to response output |
| sdk/agentserver/azure-ai-agentserver-agentframework/azure/ai/agentserver/agentframework/models/agent_framework_output_non_streaming_converter.py | Fixed code formatting by removing extra spaces before type ignore comment |
| sdk/agentserver/azure-ai-agentserver-agentframework/azure/ai/agentserver/agentframework/agent_framework.py | Updated import and reference to use APPINSIGHT_CONNSTR_ENV_NAME |
| sdk/agentserver/azure-ai-agentserver-agentframework/_version.py | Version bump from 1.0.0b1 to 1.0.0b2 |
| sdk/agentserver/azure-ai-agentserver-agentframework/CHANGELOG.md | Added changelog entry for 1.0.0b2 release |
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines