Skip to content

Auto-recall功能在启用时出现3000ms超时警告(Gateway硬编码超时限制) #360

@Lee-take

Description

@Lee-take

Problem / Motivation

在使用memory-lancedb-pro插件时,一旦启用auto-recall功能,就会出现auto-recall timed out after 3000ms警告。经过排查,发现根本原因是OpenClaw Gateway对插件调用有3000ms的硬编码超时限制,而插件schema中没有相应的超时设置字段。

Proposed Solution

  1. 在插件schema中添加超时设置字段(如autoRecallTimeoutMs),允许用户自定义超时时间
  2. 或者,优化auto-recall的检索逻辑,减少处理时间
  3. 考虑在Gateway层面提供更灵活的超时配置选项

Alternatives Considered

  1. 关闭auto-recall功能:autoRecall: false
  2. 增加autoRecallMinLength:从30增加到50
  3. 手动使用memory_recall工具进行记忆检索

Area

None

Additional Context

环境信息:

  • OpenClaw版本:2026.3.22
  • memory-lancedb-pro版本:1.1.0-beta.10
  • 操作系统:Windows 11
  • 配置:autoRecall: true,使用Ollama mxbai-embed-large本地embedding模型

问题重现步骤:

  1. 在openclaw.json中设置plugins.entries.memory-lancedb-pro.config.autoRecall: true
  2. 重启Gateway服务
  3. 进行对话时,观察Gateway日志
  4. 会出现auto-recall timed out after 3000ms警告

影响:
虽然手动记忆检索可以正常工作,但auto-recall功能的缺失影响了用户体验和自动化程度。希望开发团队能考虑修复这个问题,让auto-recall功能能在合理的时间内完成。

感谢开发团队的辛勤工作!memory-lancedb-pro插件在其他方面表现非常出色。

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions