收起左侧

飞牛应用版openclaw调用ollama,AI无法正常输出内容

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

2

主题

3

回帖

0

牛值

江湖小虾

系统版本:X86

设备环境:物理机、任何网络环境均复现、系统版本号:1.1.26,电脑配置为:i3 8100t +tesla p4 +16g内存,ollama模型为Qwen2.5-7B-Instruct Q4_K_M

BUG现象:直接用open web ui 调用ollama对话,非常丝滑流畅,文字几乎秒出,但通过openclaw调用ollama时,对话框一直显示ai在思考,不出内容,非常偶尔的情况下五六分钟能蹦出来一句话,再问就继续卡在思考,但绝大多数情况ai会一直卡在思考,不出内容。(已确保正确在opneclaw应用面板配置ollama,并选择了正确的模型,证据是偶尔能弹出来的对话下面有显示Qwen2.5-7B-Instruct Q4_K_M,ssh到nvidia-smi,看板显示显卡满载,且下面有ollama的进程,载入内存的大小也和模型能对的上)

出现频率:必现,且重装过几次openclaw没有改善

联系方式:飞牛小龙虾用户群12-非凡🤔

openclaw出现问题时的日志:

22:08:402026-03-30T22:08:40.038+08:00 [feishu] feishu[default]: Feishu[default] DM from ou_fe7259f445f0b1026fb90892c1d2ba46: 能回复吗
22:08:402026-03-30T22:08:40.047+08:00 [feishu] feishu[default]: dispatching to agent (session=agent:main:main)
22:09:182026-03-30T22:09:17.600+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=c4640eb7-8cdf-4abe-abca-a12dbb2e987e
22:09:182026-03-30T22:09:17.709+08:00 [ws] webchat connected conn=90ffefd5-4269-43fd-bd59-5e2693e2def0 remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:09:522026-03-30T22:09:51.550+08:00 [ws] ⇄ res ✓ config.schema 1424ms conn=90ffefd5…def0 id=c063a4bf…19fc
22:09:522026-03-30T22:09:51.598+08:00 [ws] ⇄ res ✓ channels.status 1475ms conn=90ffefd5…def0 id=e733a73b…36e8
22:09:522026-03-30T22:09:51.783+08:00 [ws] ⇄ res ✓ skills.status 169ms conn=90ffefd5…def0 id=d0a7fc98…0b8d
22:09:522026-03-30T22:09:51.793+08:00 [ws] ⇄ res ✓ models.list 180ms conn=90ffefd5…def0 id=f6449e46…496a
22:09:522026-03-30T22:09:51.801+08:00 [ws] ⇄ res ✓ status 191ms conn=90ffefd5…def0 id=b30ae16e…7bca
22:09:522026-03-30T22:09:51.803+08:00 [ws] ⇄ res ✓ cron.status 195ms conn=90ffefd5…def0 id=1b4039b6…16a3
22:09:522026-03-30T22:09:51.806+08:00 [ws] ⇄ res ✓ cron.list 196ms conn=90ffefd5…def0 id=730738ec…f6e6
22:09:522026-03-30T22:09:51.849+08:00 [ws] ⇄ res ✓ logs.tail 59ms conn=90ffefd5…def0 id=13ae47d9…eb8f
22:09:522026-03-30T22:09:52.143+08:00 [ws] ⇄ res ✓ usage.cost 353ms conn=90ffefd5…def0 id=0a19436a…f23d
22:09:532026-03-30T22:09:52.215+08:00 [ws] ⇄ res ✓ sessions.usage 431ms conn=90ffefd5…def0 id=7fb72dc5…0814
22:10:002026-03-30T22:09:59.219+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=90ffefd5-4269-43fd-bd59-5e2693e2def0
22:10:002026-03-30T22:09:59.317+08:00 [ws] webchat connected conn=0cd14c60-ab4e-4c80-81a5-19260e69a64f remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:10:092026-03-30T22:10:08.817+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=0cd14c60-ab4e-4c80-81a5-19260e69a64f
22:10:092026-03-30T22:10:08.913+08:00 [ws] webchat connected conn=f3c44414-f42f-4016-9b0d-40bd9bc8c25c remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:10:402026-03-30T22:10:40.157+08:00 typing TTL reached (2m); stopping typing indicator
22:10:582026-03-30T22:10:57.685+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=f3c44414-f42f-4016-9b0d-40bd9bc8c25c
22:10:582026-03-30T22:10:57.768+08:00 [ws] webchat connected conn=a849cc91-c770-4bfa-ae95-41832b42bfdf remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:11:052026-03-30T22:11:05.051+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=a849cc91-c770-4bfa-ae95-41832b42bfdf
22:11:052026-03-30T22:11:05.135+08:00 [ws] webchat connected conn=b339c8e2-2b44-4a05-a153-d6afc74bf0d4 remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:11:092026-03-30T22:11:08.829+08:00 [ws] ⇄ res ✗ sessions.patch 18ms errorCode=INVALID_REQUEST errorMessage=model not allowed: ollama/MiniMax-M2.7 conn=b339c8e2…f0d4 id=ab9c2a5b…2a66
22:11:222026-03-30T22:11:21.807+08:00 [ws] ⇄ res ✗ sessions.patch 15ms errorCode=INVALID_REQUEST errorMessage=model not allowed: ollama/MiniMax-M2.7 conn=b339c8e2…f0d4 id=4158dc3d…9bda
22:13:01Config warnings:\n- plugins: plugin: blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/.openclaw-install-stage-Pzd2sw, mode=777)
22:13:01- plugins: plugin: blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/openclaw-weixin, mode=777)
22:13:01- plugins.entries.openclaw-weixin: plugin not found: openclaw-weixin (stale config entry ignored; remove it from plugins config)
22:13:01**
22:13:01◇ Config warnings ────────────────────────────────────────────────────────────╮
22:13:01** **
22:13:01** - plugins: plugin: blocked plugin candidate: world-writable path **
22:13:01** (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/.openclaw-i **
22:13:01** nstall-stage-Pzd2sw, **
22:13:01** mode=777) **
22:13:01** - plugins: plugin: blocked plugin candidate: world-writable path **
22:13:01** (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/openclaw-we **
22:13:01** ixin, **
22:13:01** mode=777) **
22:13:01** - plugins.entries.openclaw-weixin: plugin not found: openclaw-weixin **
22:13:01** (stale config entry ignored; remove it from plugins config) **
22:13:01** **
22:13:01**──────────────────────────────────────────────────────────────────────────────╯
22:13:01**
22:13:01◇ Doctor warnings ──────────────────────────────────────────────────────╮
22:13:01** **
22:13:01** - channels.feishu.allowFrom: added "*" (required by dmPolicy="open") **
22:13:01** - Run "openclaw doctor --fix" to add missing allowFrom wildcards. **
22:13:01** **
22:13:01**────────────────────────────────────────────────────────────────────────╯
22:13:012026-03-30T22:07:50.977+08:00 Config warnings:\n- plugins: plugin: blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/.openclaw-install-stage-Pzd2sw, mode=777)
22:13:01- plugins: plugin: blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/openclaw-weixin, mode=777)
22:13:01- plugins.entries.openclaw-weixin: plugin not found: openclaw-weixin (stale config entry ignored; remove it from plugins config)
22:13:012026-03-30T22:07:54.762+08:00 [plugins] feishu_doc: Registered feishu_doc, feishu_app_scopes
22:13:012026-03-30T22:07:54.764+08:00 [plugins] feishu_chat: Registered feishu_chat tool
22:13:012026-03-30T22:07:54.766+08:00 [plugins] feishu_wiki: Registered feishu_wiki tool
22:13:012026-03-30T22:07:54.768+08:00 [plugins] feishu_drive: Registered feishu_drive tool
22:13:012026-03-30T22:07:54.771+08:00 [plugins] feishu_bitable: Registered bitable tools
22:13:012026-03-30T22:07:54.892+08:00 Config warnings:\n- plugins: plugin: blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/.openclaw-install-stage-Pzd2sw, mode=777)
22:13:01- plugins: plugin: blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/openclaw-weixin, mode=777)
22:13:01- plugins.entries.openclaw-weixin: plugin not found: openclaw-weixin (stale config entry ignored; remove it from plugins config)
22:13:012026-03-30T22:07:54.902+08:00 [gateway] feishu_doc: Registered feishu_doc, feishu_app_scopes
22:13:012026-03-30T22:07:54.904+08:00 [gateway] feishu_chat: Registered feishu_chat tool
22:13:012026-03-30T22:07:54.906+08:00 [gateway] feishu_wiki: Registered feishu_wiki tool
22:13:012026-03-30T22:07:54.908+08:00 [gateway] feishu_drive: Registered feishu_drive tool
22:13:012026-03-30T22:07:54.911+08:00 [gateway] feishu_bitable: Registered bitable tools
22:13:012026-03-30T22:07:54.914+08:00 [gateway] [plugins] blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/.openclaw-install-stage-Pzd2sw, mode=777) (source=/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/.openclaw-install-stage-Pzd2sw)
22:13:012026-03-30T22:07:54.916+08:00 [gateway] [plugins] blocked plugin candidate: world-writable path (/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/openclaw-weixin, mode=777) (source=/vol1/@apphome/trim.openclaw/data/home/.openclaw/extensions/openclaw-weixin)
22:13:012026-03-30T22:07:54.932+08:00 [canvas] host mounted at http://127.0.0.1:33862/__openclaw__/canvas/ (root /vol1/@apphome/trim.openclaw/data/home/.openclaw/canvas)
22:13:012026-03-30T22:07:54.989+08:00 [heartbeat] started
22:13:012026-03-30T22:07:54.997+08:00 [health-monitor] started (interval: 300s, startup-grace: 60s, channel-connect-grace: 120s)
22:13:012026-03-30T22:07:55.001+08:00 [gateway] agent model: ollama/qwen2.5:7b-instruct-q4_K_M
22:13:012026-03-30T22:07:55.002+08:00 [gateway] listening on ws://127.0.0.1:33862, ws://[::1]:33862 (PID 332357)
22:13:012026-03-30T22:07:55.005+08:00 [gateway] log file: /tmp/openclaw/openclaw-2026-03-30.log
22:13:012026-03-30T22:07:55.007+08:00 [gateway] security warning: dangerous config flags enabled: gateway.controlUi.allowInsecureAuth=true, gateway.controlUi.dangerouslyDisableDeviceAuth=true. Run openclaw security audit.
22:13:012026-03-30T22:07:55.025+08:00 [info]: [ 'client ready' ]
22:13:012026-03-30T22:07:55.131+08:00 [browser/server] Browser control listening on http://127.0.0.1:33864/ (auth=token)
22:13:012026-03-30T22:07:55.144+08:00 [feishu] starting feishu[default] (mode: websocket)
22:13:012026-03-30T22:07:55.549+08:00 [feishu] feishu[default]: bot open_id resolved: ou_c78f1ac896b4eeda3532cc4203b66afd
22:13:012026-03-30T22:07:55.557+08:00 [feishu] feishu[default]: dedup warmup loaded 210 entries from disk
22:13:012026-03-30T22:07:55.559+08:00 [info]: [ 'event-dispatch is ready' ]
22:13:012026-03-30T22:07:55.563+08:00 [feishu] feishu[default]: starting WebSocket connection...
22:13:012026-03-30T22:07:55.565+08:00 [info]: [
22:13:01'[ws]',
22:13:01'receive events or callbacks through persistent connection only available in self-build & Feishu app, Configured in:\n' +
22:13:01' Developer Console(开发者后台) \n' +
22:13:01' ->\n' +
22:13:01' Events and Callbacks(事件与回调)\n' +
22:13:01' -> \n' +
22:13:01' Mode of event/callback subscription(订阅方式)\n' +
22:13:01' -> \n' +
22:13:01' Receive events/callbacks through persistent connection(使用 长连接 接收事件/回调)'
22:13:01]
22:13:012026-03-30T22:07:55.569+08:00 [feishu] feishu[default]: WebSocket client started
22:13:012026-03-30T22:07:56.060+08:00 [info]: [ '[ws]', 'ws client ready' ]
22:13:012026-03-30T22:07:57.168+08:00 [ws] webchat connected conn=a1d928c1-6db4-4c1a-8bef-a1306a7e4259 remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:08:30.184+08:00 [ws] ⇄ res ✓ chat.history 96ms conn=a1d928c1…4259 id=bcff64dd…27f0
22:13:012026-03-30T22:08:36.053+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=a1d928c1-6db4-4c1a-8bef-a1306a7e4259
22:13:012026-03-30T22:08:36.157+08:00 [ws] webchat connected conn=c4640eb7-8cdf-4abe-abca-a12dbb2e987e remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:08:40.019+08:00 [feishu] feishu[default]: received message from ou_fe7259f445f0b1026fb90892c1d2ba46 in oc_febb5fdfc72637aee7076f8d82a54d5f (p2p)
22:13:012026-03-30T22:08:40.038+08:00 [feishu] feishu[default]: Feishu[default] DM from ou_fe7259f445f0b1026fb90892c1d2ba46: 能回复吗
22:13:012026-03-30T22:08:40.047+08:00 [feishu] feishu[default]: dispatching to agent (session=agent:main:main)
22:13:012026-03-30T22:09:17.600+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=c4640eb7-8cdf-4abe-abca-a12dbb2e987e
22:13:012026-03-30T22:09:17.709+08:00 [ws] webchat connected conn=90ffefd5-4269-43fd-bd59-5e2693e2def0 remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:09:51.550+08:00 [ws] ⇄ res ✓ config.schema 1424ms conn=90ffefd5…def0 id=c063a4bf…19fc
22:13:012026-03-30T22:09:51.598+08:00 [ws] ⇄ res ✓ channels.status 1475ms conn=90ffefd5…def0 id=e733a73b…36e8
22:13:012026-03-30T22:09:51.783+08:00 [ws] ⇄ res ✓ skills.status 169ms conn=90ffefd5…def0 id=d0a7fc98…0b8d
22:13:012026-03-30T22:09:51.793+08:00 [ws] ⇄ res ✓ models.list 180ms conn=90ffefd5…def0 id=f6449e46…496a
22:13:012026-03-30T22:09:51.801+08:00 [ws] ⇄ res ✓ status 191ms conn=90ffefd5…def0 id=b30ae16e…7bca
22:13:012026-03-30T22:09:51.803+08:00 [ws] ⇄ res ✓ cron.status 195ms conn=90ffefd5…def0 id=1b4039b6…16a3
22:13:012026-03-30T22:09:51.806+08:00 [ws] ⇄ res ✓ cron.list 196ms conn=90ffefd5…def0 id=730738ec…f6e6
22:13:012026-03-30T22:09:51.849+08:00 [ws] ⇄ res ✓ logs.tail 59ms conn=90ffefd5…def0 id=13ae47d9…eb8f
22:13:012026-03-30T22:09:52.143+08:00 [ws] ⇄ res ✓ usage.cost 353ms conn=90ffefd5…def0 id=0a19436a…f23d
22:13:012026-03-30T22:09:52.215+08:00 [ws] ⇄ res ✓ sessions.usage 431ms conn=90ffefd5…def0 id=7fb72dc5…0814
22:13:012026-03-30T22:09:59.219+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=90ffefd5-4269-43fd-bd59-5e2693e2def0
22:13:012026-03-30T22:09:59.317+08:00 [ws] webchat connected conn=0cd14c60-ab4e-4c80-81a5-19260e69a64f remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:10:08.817+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=0cd14c60-ab4e-4c80-81a5-19260e69a64f
22:13:012026-03-30T22:10:08.913+08:00 [ws] webchat connected conn=f3c44414-f42f-4016-9b0d-40bd9bc8c25c remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:10:40.157+08:00 typing TTL reached (2m); stopping typing indicator
22:13:012026-03-30T22:10:57.685+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=f3c44414-f42f-4016-9b0d-40bd9bc8c25c
22:13:012026-03-30T22:10:57.768+08:00 [ws] webchat connected conn=a849cc91-c770-4bfa-ae95-41832b42bfdf remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:11:05.051+08:00 [ws] webchat disconnected code=1001 reason=n/a conn=a849cc91-c770-4bfa-ae95-41832b42bfdf
22:13:012026-03-30T22:11:05.135+08:00 [ws] webchat connected conn=b339c8e2-2b44-4a05-a153-d6afc74bf0d4 remote=127.0.0.1 client=openclaw-control-ui webchat v2026.3.13
22:13:012026-03-30T22:11:08.829+08:00 [ws] ⇄ res ✗ sessions.patch 18ms errorCode=INVALID_REQUEST errorMessage=model not allowed: ollama/MiniMax-M2.7 conn=b339c8e2…f0d4 id=ab9c2a5b…2a66
22:13:012026-03-30T22:11:21.807+08:00 [ws] ⇄ res ✗ sessions.patch 15ms errorCode=INVALID_REQUEST errorMessage=model not allowed: ollama/MiniMax-M2.7 conn=b339c8e2…f0d4 id=4158dc3d…9bda

收藏
送赞
分享
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则