[agentserver] azure-ai-agentserver-core to 1.0.0b17#45704
Open
[agentserver] azure-ai-agentserver-core to 1.0.0b17#45704
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates azure-ai-agentserver-core with new tooling/runtime components, checkpoint client support, expanded documentation stubs, and a significant new unit test suite, alongside dependency and sample import updates to match new internal module layouts.
Changes:
- Added new Tools runtime/client utilities (catalog/resolver/invoker, Starlette middleware, name resolver) with unit tests.
- Added a new checkpoints client (sessions/items) and related docs.
- Updated package metadata/docs/samples and adjusted dependencies/versioning artifacts.
Reviewed changes
Copilot reviewed 98 out of 107 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/_version.py | Updates package version constant (currently b16). |
| sdk/agentserver/azure-ai-agentserver-core/CHANGELOG.md | Adds release history entries through 1.0.0b16. |
| sdk/agentserver/azure-ai-agentserver-core/pyproject.toml | Updates dependencies and package metadata (beta classifier, urls). |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/client/operations/_base.py | Introduces shared operations base with status handling + JSON extraction. |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/client/operations/_foundry_hosted_mcp_tools.py | Adds MCP hosted tools operations (formatting/doc issues noted). |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/client/operations/_foundry_connected_tools.py | Adds connected tools operations (formatting/doc issues noted). |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/runtime/_catalog.py | Adds cached catalog with in-flight de-dupe (bare except noted). |
| sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/logger.py | Refactors logging setup (print usage noted). |
| sdk/agentserver/azure-ai-agentserver-core/tests/unit_tests/** | Adds comprehensive unit tests for new tools/runtime/client behavior. |
| sdk/agentserver/azure-ai-agentserver-core/doc/** | Adds/updates Sphinx package/module stubs for new modules. |
| sdk/agentserver/azure-ai-agentserver-core/samples/** | Updates sample imports and agent construction. |
Comment on lines
22
to
+27
| dependencies = [ | ||
| "azure-monitor-opentelemetry>=1.5.0", | ||
| "azure-ai-projects", | ||
| "azure-ai-agents>=1.2.0b5", | ||
| "azure-monitor-opentelemetry>=1.5.0,<1.8.5", | ||
| "azure-ai-projects>=2.0.0b1", | ||
| "azure-ai-agents==1.2.0b5", | ||
| "azure-core>=1.35.0", | ||
| "azure-identity", | ||
| "azure-identity>=1.25.1", |
Comment on lines
+91
to
+95
| except: | ||
| # exception can only be caused by fetching tasks, remove them from cache | ||
| for k, _ in tools_to_fetch.items(): | ||
| if k in self._cache: | ||
| del self._cache[k] |
Comment on lines
+49
to
+53
| log_level = os.getenv(Constants.AGENT_LOG_LEVEL, "INFO").upper() | ||
| valid_levels = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] | ||
| if log_level not in valid_levels: | ||
| print(f"Invalid log level '{log_level}' specified. Defaulting to 'INFO'.") | ||
| log_level = "INFO" |
Comment on lines
+227
to
228
| except Exception as e: # pylint: disable=broad-exception-caught | ||
| print(f"Failed to configure logging: {e}") |
Comment on lines
+11
to
+17
| from .._models import FoundryHostedMcpTool, FoundryToolDetails, FoundryToolSource, ListFoundryHostedMcpToolsResponse, \ | ||
| ResolvedFoundryTool | ||
| from ..._exceptions import ToolInvocationError | ||
|
|
||
|
|
||
| class BaseFoundryHostedMcpToolsOperations(BaseOperations, ABC): | ||
| """Base operations for Foundry-hosted MCP tools.""" |
Comment on lines
+4
to
+9
| ## 1.0.0b16 (2026-03-10) | ||
|
|
||
| ### Other Changes | ||
|
|
||
| - Upgraded to support agent-framework v1.0.0rc3. | ||
|
|
Comment on lines
+62
to
+64
| if response.status_code not in [200]: | ||
| map_error(status_code=response.status_code, response=response, error_map=self._error_map) | ||
| raise HttpResponseError(response=response) |
Comment on lines
+130
to
+134
| """List MCP tools. | ||
|
|
||
| :param allowed_tools: List of allowed MCP tools to filter. | ||
| :type allowed_tools: List[FoundryHostedMcpTool] | ||
| :return: An async iterable of tuples containing tool definitions and their details. |
Comment on lines
+11
to
+17
| from .._models import FoundryConnectedTool, FoundryToolDetails, FoundryToolSource, InvokeFoundryConnectedToolsResponse, \ | ||
| ListFoundryConnectedToolsResponse, ResolvedFoundryTool, UserInfo | ||
| from ..._exceptions import ToolInvocationError | ||
|
|
||
|
|
||
| class BaseFoundryConnectedToolsOperations(BaseOperations, ABC): | ||
| """Base operations for Foundry connected tools.""" |
Comment on lines
+140
to
+142
| :return: An async iterable of tuples containing the tool definition and its details. | ||
| :rtype: AsyncIterable[Tuple[FoundryConnectedTool, FoundryToolDetails]] | ||
| """ |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
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.
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