Python: preserve approval context across resume paths - #24
Closed
eavanvalkenburg wants to merge 1 commit into
Closed
eavanvalkenburg wants to merge 1 commit into
eavanvalkenburg wants to merge 1 commit into
Conversation
eavanvalkenburg
had a problem deploying
to
github-app-auth
September 16, 2026 14:18 — with
GitHub Actions
Failure
eavanvalkenburg
had a problem deploying
to
github-app-auth
September 16, 2026 14:18 — with
GitHub Actions
Failure
eavanvalkenburg
had a problem deploying
to
github-app-auth
September 16, 2026 14:18 — with
GitHub Actions
Failure
Owner
Author
|
Superseded by microsoft#8433, which targets the upstream repository as requested. |
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.
Motivation & Context
Tool approval resume has two context-sensitive gaps. A sessionless
Agent.run(...)silently drops a valid approval when any context provider causes the framework to create a fresh per-run session, while AG-UI adapter-local approval execution loses the documentedfunction_invocation_kwargsruntime context beforeagent.run(...)begins.This is the upper layer of a dependent PR chain and depends on microsoft#8428.
Description & Review Guide
function_invocation_kwargsthrough the programmatic AG-UI entry points, and build adapter-localFunctionInvocationContext.kwargsonly from that mapping plusoptions["additional_function_arguments"], with options taking precedence. Add focused core, AG-UI, and combined context-provider resume regressions.Related Issue
Depends on microsoft#8428.
Fixes microsoft#8410
Fixes microsoft#8132
No other open pull request currently references either issue.
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.