Repository navigation
fix(miniswe): AUT-2562 isolate native LiteLLM runtime from Gym MCP - #4735
Merged
ko3n1g merged 1 commit intoOct 19, 2026
Merged
Conversation
Signed-off-by: svcnemo-autobot <[email protected]>
Contributor
|
/ok to test fcf5aff |
Contributor
Author
|
CI results for
No checks were bypassed or failures retried as flaky. This PR retains the newer LiteLLM and stays confined to the mini-SWE server. |
wprazuch
approved these changes
Oct 19, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/39256115594 |
reinainblood
pushed a commit
to reinainblood/Gym
that referenced
this pull request
Oct 19, 2026
…VIDIA-NeMo#4735) ## Background The mini-SWE failure in [run 39159328234](https://github.com/NVIDIA-NeMo/Gym/actions/runs/39159328234/job/117974394719) reproduces as an MCP import error wrapped in `APIConnectionError`: LiteLLM 1.106.0 imports `CacheableResult`, unavailable in Gym's MCP v1 environment. This directly addresses the reported failure; no separate issue is needed. ## What changed - Retain LiteLLM 1.106.0 and pin its native CLI environment with mini-SWE 2.4.6 and MCP 2.2.0. - Upload the runtime requirements during sandbox setup. - Run integration tests in that same isolated environment and verify dependency isolation. ## Details ```mermaid flowchart LR G[Gym and task MCP clients: v1] --> H[Sandbox setup] H --> N[Native mini-SWE: LiteLLM 1.106.0 + MCP v2] N --> M[Gym Responses endpoint] ``` Changes stay within this server. Shared dependencies, task MCP clients, model routing, and trajectory behavior remain unchanged. This pins the conflicting packages, not the entire transitive dependency graph. ## Tested - Debug suite: 126 passed before annotation-only finalization. - Final head: 4 bootstrap/isolation tests passed; pre-commit exited 0 (private guardwords catalog unavailable); diff check clean. - Managed CPU inventory refused: checkpoint consumer supports only gcp-h100. No GPU allocated. - Canonical lint wrapper blocked at hook installation by platform-owned `core.hooksPath`; configured checks ran separately without changing it. - Required GitHub CI pending. Real-provider rollout not run; native CLI exercised local HTTP model fixtures and real subprocess/tool behavior. Signed-off-by: svcnemo-autobot <[email protected]> (cherry picked from commit bd2d373) Signed-off-by: Kirsten Ruge <[email protected]>
This was referenced Oct 20, 2026
This was referenced Oct 24, 2026
5 tasks done
This branch was previously deployed
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.
Background
The mini-SWE failure in run 39159328234 reproduces as an MCP import error wrapped in
APIConnectionError: LiteLLM 1.106.0 importsCacheableResult, unavailable in Gym's MCP v1 environment. This directly addresses the reported failure; no separate issue is needed.What changed
Details
Changes stay within this server. Shared dependencies, task MCP clients, model routing, and trajectory behavior remain unchanged. This pins the conflicting packages, not the entire transitive dependency graph.
Tested
core.hooksPath; configured checks ran separately without changing it.