Skip to content

0.7.3:精简群聊关系资料,说明全局预览范围,防止误清整群 - #62

Merged
timeance merged 1 commit into
mainfrom
feat/compact-relation-context
Nov 17, 2026
Merged

timeance merged 1 commit into
mainfrom
feat/compact-relation-context

Conversation

@timeance

Copy link
Copy Markdown
Owner

默认模板现在只在本轮有印象或经历时展示对应栏目。多人接话时,关系资料指向平台事件绑定的那位成员;陌生人也可以正常求助、一起接梗,不必虚构过去的交情。

另外修复了两个容易误会或误操作的地方:

  • 全局预览会把群内印象和经历标为「全局空间不展示」。旧诊断保留当时记录的筛选理由。
  • 管理员单独发送 /好感重置 只显示用法。重置一人填 QQ 号;按群保存关系时,清空本群须明确输入 /好感重置 全群。

实际注入、只读预览和筛选理由沿用同一份单轮资料。内置提示去掉随每轮变化的读取时间,快照仍保留时点;自定义模板沿用原排版、空栏和身份格式,无需重新保存。F/A/T、存储结构和运行时模型调用次数不变。是否接话、回复谁仍由 AstrBot 和聊天插件处理。

**验证:**同样的 36 组场景与人格下,Bond 段落长度中位数从 1,064 降到 457 个字符。新增温和、克制两种人格的新人和熟人求助案例,供真实模型盲评。Python 全量 1,869 项通过、1 项跳过;管理面板 106 项通过。项目检查、公开内容扫描、Black、Ruff 和安装包校验通过。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T18:45:24.990963Z 23a546a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@timeance
timeance merged commit 3d43016 into main Nov 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant