Skip to content

feat: Openclaw插件,在注入前使用XML标签包裹,避免AI弄混记忆和当前及之前的指令 #1316

@CHANTXU64

Description

@CHANTXU64

Pre-submission checklist | 提交前检查

  • I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
  • I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
  • This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题

Problem Statement | 问题陈述

目前在我使用Openclaw的Memos本地插件时,经常遇到AI将MemOS注入的记忆和当前指令或前面上下文弄混的问题,尤其是注入记忆很多的时候。

Anthropic 官方 Prompt 指南 中建议用XML把复杂的Prompt区分。

建议在注入前用XML标签包裹

Willingness to Implement | 实现意愿

  • I'm willing to implement this myself | 我愿意自己解决
  • I would like someone else to implement this | 我希望其他人来解决

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpendingPending items to be addressed | 待解决事项。

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions