Skip to content

持久 Agent session 重复发送完整群聊历史 #58

Description

@Ryder-Sun

问题\n群聊复用 native session 时,每轮会把此前完整讨论 transcript 再次发送,当前历史选择使用近似无限上限。\n\n## 影响\n上下文累计呈平方级增长,长任务可能触发 4 MiB prompt override 限制或 provider context limit。\n\n## 建议\n为每个 session 建立已发送消息 watermark,只发送新增 peer turns;跨轮仅保留有界摘要。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions