收起左侧

OpenClaw集成NVIDIA模型无法验证API

0
回复
20
查看
[ 复制链接 ]

1

主题

0

回帖

0

牛值

江湖小虾

系统版本:X86

设备环境:

物理机

局域网

系统版本:V1.1.26

OpenClaw版本:2026.3.13 (61d171a)

BUG现象:通过OpenClaw配置自定义兼容OpenAI的NVIDIA模型,如下图,配置后模型无法使用

image.png

image.png

image.png

然后查看运行日志提示:

11:12:032026-03-29T15:45:04.703+08:00 [agents/model-providers] Failed to discover Ollama models: TypeError: fetch failed
11:12:032026-03-29T15:45:04.809+08:00 [canvas] host mounted at http://127.0.0.1:26790/__openclaw__/canvas/ (root /vol1/@apphome/trim.openclaw/data/home/.openclaw/canvas)
11:12:032026-03-29T15:45:04.919+08:00 [heartbeat] started
11:12:032026-03-29T15:45:04.924+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
11:12:032026-03-29T15:45:04.930+08:00 [gateway] agent model: anthropic/claude-opus-4-6
11:12:032026-03-29T15:45:04.934+08:00 [gateway] listening on ws://127.0.0.1:26790, ws://[::1]:26790 (PID 3011)
11:12:032026-03-29T15:45:04.938+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-03-29.log
11:12:032026-03-29T15:45:04.942+08:00 [gateway] security warning: dangerous config flags enabled: gateway.controlUi.allowInsecureAuth=true, gateway.controlUi.dangerouslyDisableDeviceAuth=true. Run `openclaw security audit`.
11:12:032026-03-29T15:45:04.986+08:00 [browser/server] Browser control listening on http://127.0.0.1:26792/ (auth=token)
11:12:032026-03-29T15:45:06.106+08:00 [gateway] update available (latest): v2026.3.28 (current v2026.3.13). Run: openclaw update
11:12:032026-03-29T16:15:05.042+08:00 [agents/model-providers] Failed to discover Ollama models: TypeError: fetch failed
11:12:032026-03-29T16:15:05.336+08:00 [agents/model-providers] Failed to discover Ollama models: TypeError: fetch failed
11:12:032026-03-29T16:15:05.354+08:00 [diagnostic] lane task error: lane=main durationMs=25 error="Error: No API key found for provider "anthropic". Auth store: /vol1/@apphome/trim.openclaw/data/home/.openclaw/agents/main/agent/auth-profiles.json (agentDir: /vol1/@apphome/trim.openclaw/data/home/.openclaw/agents/main/agent). Configure auth for this agent (openclaw agents add <id>) or copy auth-profiles.json from the main agentDir."
11:12:032026-03-29T16:15:05.357+08:00 [diagnostic] lane task error: lane=session:agent:main:main durationMs=32 error="Error: No API key found for provider "anthropic". Auth store: /vol1/@apphome/trim.openclaw/data/home/.openclaw/agents/main/agent/auth-profiles.json (agentDir: /vol1/@apphome/trim.openclaw/data/home/.openclaw/agents/main/agent). Configure auth for this agent (openclaw agents add <id>) or copy auth-profiles.json from the main agentDir."
11:12:032026-03-29T16:15:05.371+08:00 [model-fallback/decision] model fallback decision: decision=candidate_failed requested=anthropic/claude-opus-4-6 candidate=anthropic/claude-opus-4-6 reason=auth next=none
11:12:032026-03-29T16:15:05.374+08:00 Embedded agent failed before reply: No API key found for provider "anthropic". Auth store: /vol1/@apphome/trim.openclaw/data/home/.openclaw/agents/main/agent/auth-profiles.json (agentDir: /vol1/@apphome/trim.openclaw/data/home/.openclaw/agents/main/agent). Configure auth for this agent (openclaw agents add <id>) or copy auth-profiles.json from the main agentDir.
11:12:032026-03-30T09:23:47.248+08:00 [reload] config change detected; evaluating reload (agents.defaults.compaction, agents.defaults.models, models)
11:12:032026-03-30T09:23:47.254+08:00 [reload] config hot reload applied (agents.defaults.models, models)
11:12:032026-03-30T10:22:09.670+08:00 [reload] config change detected; evaluating reload (models.providers.NVIDIA.apiKey)
11:12:032026-03-30T10:22:09.676+08:00 [reload] config hot reload applied (models.providers.NVIDIA.apiKey)
11:12:032026-03-30T10:50:25.482+08:00 [reload] config change detected; evaluating reload (models.providers.openrouter, agents.defaults.models.openrouter/z-ai/glm-4.7)
11:12:032026-03-30T10:50:25.488+08:00 [reload] config hot reload applied (models.providers.openrouter, agents.defaults.models.openrouter/z-ai/glm-4.7)
11:12:032026-03-30T10:50:35.537+08:00 [reload] config change detected; evaluating reload (models.providers.NVIDIA, agents.defaults.models.NVIDIA/GLM-4.7)
11:12:032026-03-30T10:50:35.543+08:00 [reload] config hot reload applied (models.providers.NVIDIA, agents.defaults.models.NVIDIA/GLM-4.7)
11:12:032026-03-30T10:51:45.162+08:00 [reload] config change detected; evaluating reload (models, agents.defaults.models)
11:12:032026-03-30T10:51:45.173+08:00 [reload] config hot reload applied (models, agents.defaults.models)
11:12:032026-03-30T10:53:29.250+08:00 [reload] config change detected; evaluating reload (agents.defaults.models, models)
11:12:032026-03-30T10:53:29.261+08:00 [reload] config hot reload applied (agents.defaults.models, models)
11:12:032026-03-30T10:55:07.181+08:00 [reload] config change detected; evaluating reload (models, agents.defaults.models)
11:12:032026-03-30T10:55:07.194+08:00 [reload] config hot reload applied (models, agents.defaults.models)
11:12:032026-03-30T10:55:55.646+08:00 [reload] config change detected; evaluating reload (agents.defaults.models, models)
11:12:032026-03-30T10:55:55.652+08:00 [reload] config hot reload applied (agents.defaults.models, models)

出现频率:必现

联系方式:(飞牛小龙虾用户群42-木头)

通过终端查看:没有日志中提到的auth-profiles.json文件
image.png

收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则