openclaw - 💡(How to fix) Fix [Bug] NVIDIA Provider: Multiple models silent failure [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#44498Fetched 2026-04-08 00:46:03
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

3.11 中文版的无法正确解析或加载来自同一 API 端点(NVIDIA)的多个模型。尽管配置语法正确、API Key 有效,但软件内部处理模型列表时发生了静默失败。

Error Message

  1. Observe error: "Model ... is not allowed" or silent failure. Switching fails with "Model ... is not allowed" error, or the model list silently ignores additional entries.

Root Cause

3.11 中文版的无法正确解析或加载来自同一 API 端点(NVIDIA)的多个模型。尽管配置语法正确、API Key 有效,但软件内部处理模型列表时发生了静默失败。

Fix Action

Fix / Workaround

Last known good version: Unknown (never worked with multiple NVIDIA models). First known bad version: 3.11 (Chinese Edition). Temporary workaround: Use only one model per provider, or switch providers entirely.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Summary

3.11 中文版的无法正确解析或加载来自同一 API 端点(NVIDIA)的多个模型。尽管配置语法正确、API Key 有效,但软件内部处理模型列表时发生了静默失败。

Steps to reproduce

  1. Configure multiple models under models.providers.nvidia in openclaw.json (e.g., z-ai/glm5 and minimaxai/minimax-m2.5).
  2. Attempt to switch to the second model using /model minimaxai/minimax-m2.5.
  3. Observe error: "Model ... is not allowed" or silent failure.

Expected behavior

Should be able to switch between models from the same provider seamlessly.

Actual behavior

Switching fails with "Model ... is not allowed" error, or the model list silently ignores additional entries.

OpenClaw version

3.11 (Chinese Edition)

Operating system

Windows 11

Install method

No response

Model

minimaxai/minimax-m2.5

Provider / routing chain

openclaw -> nvidia -> minimaxai

Config file / key location

No response

Additional provider/model setup details

Configured multiple models in ~/.openclaw/openclaw.json under models.providers.nvidia.models. API Key is valid and works for the first model (z-ai/glm5), but fails for subsequent models.

Logs, screenshots, and evidence

Impact and severity

Affected: Users trying to switch between models from the same provider. Severity: High (blocks model switching and multi-model workflows). Frequency: 100% reproducible. Consequence: Cannot use configured models, workflow blocked.

Additional information

Last known good version: Unknown (never worked with multiple NVIDIA models). First known bad version: 3.11 (Chinese Edition). Temporary workaround: Use only one model per provider, or switch providers entirely.

extent analysis

Fix Plan

To resolve the issue of failing to switch between models from the same provider in OpenClaw 3.11 (Chinese Edition), we need to modify the openclaw.json configuration file and potentially update the model loading logic.

Step-by-Step Solution:

  1. Update openclaw.json: Ensure that the models.providers.nvidia.models section is correctly formatted as an array of objects, where each object represents a model with its necessary details.
  2. Model Configuration Example:
{
  "models": {
    "providers": {
      "nvidia": {
        "models": [
          {
            "name": "z-ai/glm5",
            "apiKey": "YOUR_API_KEY_FOR_Z_AI_GLM5"
          },
          {
            "name": "minimaxai/minimax-m2.5",
            "apiKey": "YOUR_API_KEY_FOR_MINIMAXAI_M2_5"
          }
        ]
      }
    }
  }
}

Replace YOUR_API_KEY_FOR_Z_AI_GLM5 and YOUR_API_KEY_FOR_MINIMAXAI_M2_5 with the actual API keys for each model.

  1. Code Update for Model Loading: If the issue persists after updating the configuration, it may be necessary to adjust the model loading logic in OpenClaw to properly handle multiple models from the same provider. This could involve modifying the modelLoader function to iterate through the array of models for a given provider and load each one correctly.

Example Code Snippet (Hypothetical):

def load_models(provider):
    models_config = config['models']['providers'][provider]['models']
    loaded_models = []
    for model_config in models_config:
        # Load the model using the provided API key
        model = load_model(model_config['name'], model_config['apiKey'])
        loaded_models.append(model)
    return loaded_models

This snippet assumes a load_model function that takes a model name and API key, loads the model, and returns it.

Verification

After applying these changes, verify that you can switch between models from the same provider without encountering the "Model ... is not allowed" error or silent failure. Attempt to switch models using the /model command followed by the name of the model you wish to switch to (e.g., /model minimaxai/minimax-m2.5).

Extra Tips

  • Ensure that all API keys are valid and correctly associated with their respective models.
  • If issues persist, check the OpenClaw logs for any error messages that might indicate a problem with the configuration or model loading process.
  • Consider updating OpenClaw to the latest version if available, as newer versions may include fixes for known issues.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Should be able to switch between models from the same provider seamlessly.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug] NVIDIA Provider: Multiple models silent failure [1 comments, 2 participants]