hermes - 💡(How to fix) Fix Profile切换后session历史未隔离 — default profile的会话泄漏到named profile

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

问题描述

当在 default profile 和 named profile 之间切换时,default profile 的会话历史(session history)会泄漏到 named profile 中。这导致两个 profile 之间的消息互相串扰(串话现象),用户在 named profile 中看到本应属于 default profile 的历史对话。

复现步骤

  1. 在 default profile 下进行若干次对话,产生 session 历史
  2. 切换到 named profile(例如 maintenance profile)
  3. 在 named profile 中查看会话历史或进行新对话
  4. 观察到 default profile 的历史消息出现在 named profile 的上下文中

预期行为

不同 profile 的 session 历史应该完全隔离,切换 profile 后不应该看到其他 profile 的对话记录。

实际行为

Default profile 的 session 历史泄漏到 named profile,导致消息串扰。

环境信息

  • Hermes Agent 版本:当前版本
  • 触发场景:群聊系统 multi-agent 环境
  • Profile 配置:default + 多个 named profile

影响

在 multi-agent 群聊场景中影响尤为严重,消息混淆会导致 agent 之间的协作出现混乱。

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING