Skip to content

Python: Upgrade agentserver dependencies to latest - #7921

Merged
Tao Chen (TaoChenOSU) merged 2 commits into
mainfrom
taochen/upgrade-agent-server-sdk-to-latest
Aug 27, 2026
Merged

Python: Upgrade agentserver dependencies to latest#7921
Tao Chen (TaoChenOSU) merged 2 commits into
mainfrom
taochen/upgrade-agent-server-sdk-to-latest

Conversation

@TaoChenOSU

@TaoChenOSU Tao Chen (TaoChenOSU) commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Motivation & Context

Maintenance update to agent-framework-foundry-hosting

Description & Review Guide

  • What are the major changes?
    • Upgrading our dependencies on the agentserver SDKs for Foundry Hosted Agent to the latest versions as they contain critical stablization fixes.
    • Add kwargs to FoundryToolbox to full access to parent class constructor arguments to enable potential break glass requirements.
  • What is the impact of these changes?
    • Stabilizing Foundry Hosted Agent integration
  • What do you want reviewers to focus on?
    • Small PR so ideally read through it to make sure you understand the changes.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR is linked to an issue and there is no other open PR for this issue (see Related Issue above).
  • This is not a breaking change. If it is a breaking change, add the breaking change label (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.

@TaoChenOSU Tao Chen (TaoChenOSU) self-assigned this Aug 27, 2026
@TaoChenOSU Tao Chen (TaoChenOSU) added the python Usage: [Issues, PRs], Target: Python label Aug 27, 2026
Copilot AI balanced review requested due to automatic review settings August 27, 2026 20:42
@TaoChenOSU Tao Chen (TaoChenOSU) added foundry Usage: [Issues, PRs], Target: all Foundry integrations hosting Usage: [Issues, PRs], Target: all hosting related solutions labels Aug 27, 2026
@github-actions github-actions Bot changed the title Upgrade agentserver dependencies to latest Python: Upgrade agentserver dependencies to latest Aug 27, 2026

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

Upgrades Foundry Hosting’s AgentServer dependencies and adapts integrations to updated APIs.

Changes:

  • Raises AgentServer dependency minimum versions.
  • Adds cache-write usage reporting and missing call-ID validation.
  • Extends toolbox configuration forwarding and tests.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
python/packages/foundry_hosting/pyproject.toml Updates dependency floors.
python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py Adapts response conversion and usage reporting.
python/packages/foundry_hosting/agent_framework_foundry_hosting/_toolbox.py Forwards additional toolbox options.
python/packages/foundry_hosting/tests/test_responses.py Updates response compatibility tests.
python/packages/foundry_hosting/tests/test_toolbox.py Tests toolbox option forwarding.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread python/packages/foundry_hosting/agent_framework_foundry_hosting/_toolbox.py Outdated
Comment thread python/packages/foundry_hosting/agent_framework_foundry_hosting/_responses.py Outdated
@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
packages/foundry_hosting/agent_framework_foundry_hosting
   _responses.py83411985%116–118, 234, 299–300, 314, 317–318, 385, 394, 471, 503, 518–521, 585, 635, 697, 709, 725–726, 731–734, 738–740, 745, 753, 756, 767, 812, 822, 833–835, 849–851, 854, 888–891, 896, 899, 919–920, 1017, 1088–1090, 1094, 1097–1100, 1104–1106, 1111–1115, 1119–1121, 1128–1129, 1132–1135, 1141, 1144–1150, 1160, 1166, 1170, 1194, 1203–1204, 1208, 1453, 1465, 1920–1921, 1925, 1970, 1972, 1974, 1976, 1980, 1988, 1991–1995, 1997, 2007, 2011, 2056, 2058, 2060–2063, 2071, 2073
   _toolbox.py112397%363, 367, 371
TOTAL48248448190% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
9817 36 💤 0 ❌ 0 🔥 2m 30s ⏱️

@chetantoshniwal

Copy link
Copy Markdown
Contributor

/review

@TaoChenOSU
Tao Chen (TaoChenOSU) added this pull request to the merge queue Aug 27, 2026
Merged via the queue into main with commit de02975 Aug 27, 2026
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

foundry Usage: [Issues, PRs], Target: all Foundry integrations hosting Usage: [Issues, PRs], Target: all hosting related solutions python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants