Skip to content

chore: update agentserver version - #919

Merged
Alex Wang (a1exwang) merged 1 commit into
mainfrom
aochengwang/update-deps
Aug 6, 2026
Merged

chore: update agentserver version#919
Alex Wang (a1exwang) merged 1 commit into
mainfrom
aochengwang/update-deps

Conversation

@a1exwang

Copy link
Copy Markdown
Collaborator

Update agentserver version which the resilient long running and checkpoint feature depends on.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the azure-ai-agentserver-* dependency versions used by the langchain_azure_ai hosting integration, aligning the host + converters + tests with the newer request/event/item shapes required for resilient long-running + checkpoint features.

Changes:

  • Bump azure-ai-agentserver-core, azure-ai-agentserver-invocations, and azure-ai-agentserver-responses versions in the hosting extra.
  • Update ResponsesHostServer request handling to treat CreateResponse as a mapping (using request.get(...)).
  • Update converters and unit tests to use dict-style access for events/items and to set required type fields on model payloads.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
libs/azure-ai/tests/unit_tests/agents/hosting/test_stream.py Adjusts streaming event assertions to use dict-based event payloads (event["type"], event["delta"], etc.).
libs/azure-ai/tests/unit_tests/agents/hosting/test_responses_host.py Updates request construction and message item shaping to match updated CreateResponse / item schema expectations.
libs/azure-ai/tests/unit_tests/agents/hosting/test_hitl.py Updates HITL-related test items to include explicit type fields and align with dict-based access patterns.
libs/azure-ai/tests/unit_tests/agents/hosting/test_converters.py Updates converter tests to include explicit item type fields and align with updated input item shapes.
libs/azure-ai/pyproject.toml Bumps azure-ai-agentserver-* versions in the hosting optional dependency set.
libs/azure-ai/langchain_azure_ai/agents/hosting/_responses_host.py Switches request field access from attribute-based (getattr) to mapping-based (request.get).
libs/azure-ai/langchain_azure_ai/agents/hosting/_converters/_request.py Adds TypeGuards and migrates item/content handling to dict-key access for function calls, outputs, and messages.
libs/azure-ai/langchain_azure_ai/agents/hosting/_converters/_hitl.py Migrates HITL item handling to dict-key access and stamps emitted MCP approval requests with type="mcp_approval_request".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@a1exwang
Alex Wang (a1exwang) merged commit 51bbd2a into main Aug 6, 2026
12 checks passed
@a1exwang
Alex Wang (a1exwang) deleted the aochengwang/update-deps branch August 6, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants