fix(agent): adapt aionrs compat API#528
Draft
TCP404 wants to merge 3 commits into
Draft
Conversation
- Write provider transport overrides through the new compat transport section used by upcoming aionrs releases - Make the AIONRS local SDK wrapper patch every aionrs crate and pass patch config through cargo-clippy - Clean Rust 1.95 clippy warnings in affected tests
- Write local aionrs patch config for the duration of each just _cargo run so nested cargo invocations see it - Restore Cargo.lock and .cargo/config.toml after the command exits - Keep the aionrs patch and update crate lists in sync
- Updated aionrs git dependencies from v0.1.33 to v0.1.34 in Cargo.toml - Refreshed Cargo.lock to pin the new revision
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.
Summary
v0.1.34.AIONRS=../aionrs just ...usable for local SDK compatibility checks, including nested Cargo commands such ascargo nextest.Context
The provider-contract changes in aionrs moved transport-specific compat fields such as
max_tokens_fieldandapi_pathundercompat.transport. AionCore needs this follow-up so its AionCLI SDK integration compiles and continues to pass provider-health and agent startup override paths against the released aionrs API.The first CI run failed because this PR already used
compat.transport.*whileCargo.tomlstill pointed ataionrs v0.1.33, where those fields did not exist. The branch now points all aionrs SDK crates atv0.1.34.Verification
AIONRS=../aionrs just build -fCARGO_NET_OFFLINE=true AIONRS=../aionrs just push -u origin HEAD:boii/chore/aionrs-main-compat-checkcargo fixpassed-D warningspassedcargo fmt --allpassednextest run --workspace: 6534 tests run, 6534 passed, 18 skippedorigin/boii/chore/aionrs-main-compat-check1072958a: