惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
D
Docker
WordPress大学
WordPress大学
罗磊的独立博客
J
Java Code Geeks
博客园 - 【当耐特】
博客园 - 司徒正美
雷峰网
雷峰网
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
T
Tailwind CSS Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
B
Blog

博客园 - liDB

windows 安装docker Python--面试 centos -- vmware 虚拟机网络桥接模式无法获取到ip SpringBoot 入门 SpringMVC 入门 Spring -- 进阶 Spring -- 基础 Spring -- AOP postgresql Django admin后台管理 Python--微服务 DRF 简介 DRF 视图 DRF 序列化器 Django 简介 Django 模型 Django 创建项目 Django 视图 DRF 其他功能
openclaw访问ollama部署的模型失败
liDB · 2026-04-08 · via 博客园 - liDB

我在openclaw自带的聊天界面进行对话,但是一致没有返回信息,估计是本地模型处理时间太久,导致返回失败

在ollama的server.log日志文件可以查看到类型如下日志:

[GIN] 2026/04/07 - 12:19:59 | 500 | 59.9716921s | 192.168.31.56 | POST "/api/chat"

500错误

可以在配置文件openclaw.json设置agents.defaults.llm.idleTimeoutSeconds来提高超时时间

参考: OpenClaw 2026.3.31 版本 Ollama 60秒超时问题|实测有效极简解法_profile ollama:default timed out. trying next acco-CSDN博客
使用wireshark抓包,用代码把提取到的json数据通过requests库发送http请求,设置较大超时时间,是可以获取到返回值的。