Repository navigation
Support ai-agent-toolbox 1.x without obsolete Markdown APIs - #36
Merged
Merged
Conversation
mikkel
marked this pull request as ready for review
November 10, 2026 05:49
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.
Patchling cannot co-install with ai-agent-toolbox 1.x because metadata caps it below 1.0. Removing only that cap still breaks imports: the real published 1.x wheel no longer exports MarkdownParser/MarkdownPromptFormatter.
Use Patchling's existing extract_diff_blocks implementation for generated Markdown diffs, remove obsolete/unused formatter imports, and retain the real XMLParser + Toolbox path for apply reasoning/tool dispatch. Relax the requirement from ai-agent-toolbox>=0.2.0,<1.0 to ai-agent-toolbox>=0.2.0. No upstream Toolbox changes are needed.
Validation:
The older task's claimed Toolbox 1.2.1 does not currently exist: official PyPI JSON returns HTTP 404 for 1.2.0 and 1.2.1 and upstream tags stop at 1.0.3. Tests use real released packages rather than inventing those versions. References: https://pypi.org/project/ai-agent-toolbox/ and https://github.com/255BITS/ai-agent-toolbox/tags .
Scope: consumer compatibility only. No version bump, package release, publishing/authentication change, main merge or documentation deployment. Previously retained release artifacts are unchanged; packaging validation used a separate test-artifact directory.
Proposed CI matrix patch (reviewable text only; not installed by this PR):