Suggest saving a memory when a chat message holds something worth remembering

オープン
#137 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@jbouder がすでに取り組んでいます。

2026年12月4日 から。

  • #138 @jbouder による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
go, react, typescript

調査の方向性

Start with internal/ai/agentproxy/memory.go and ui/src/features/chat/MemoryNote.tsx, then trace how the chat saves memories and how the memory settings page displays them. The linked pull request #138 is already open, so check its coverage of the acceptance criteria before taking this on. Done means model-proposed suggestions can be edited, saved or dismissed, with tests for those flows and the specified exclusions.

索引モデルが issue の本文から書いたものです。

説明

Summary

Let the model decide when a message holds something worth remembering, such as a preference, a fact about the person or their work, or a standing instruction. When the model flags one, the chat shows a block under the message that asks whether to save it as a memory. Today a memory is stored as written only when the message starts with remember: or please remember that. That is the rememberRE check in internal/ai/agentproxy/memory.go, mirrored in ui/src/features/chat/MemoryNote.tsx. This covers the gateway's memory handling, the chat UI, and the memory settings page where saved memories show.

Motivation
  • Few people know to start a message with remember:. Most things worth keeping get said in passing ("I'm the sales lead for the EMEA region", "always use metric units").
  • The model can judge what is worth keeping from context, which a fixed phrase or pattern cannot.
  • Asking before saving keeps the person in control of what is stored about them, instead of storing it silently.
  • One click to save is quicker than retyping the fact with a trigger phrase.
  • Today the chat can only report "Saving to memory" after the fact, by polling. A suggestion block gives a clear, immediate outcome.
Acceptance Criteria
  • The model decides whether a message is worth remembering and proposes the memory's text. Keyword or pattern matching is not used to decide.
  • When the model proposes a memory, the chat shows a block under it with the suggested memory text and Save and Dismiss actions.
  • The person can edit the suggested text before saving.
  • Save stores the memory and the block confirms it, with a link to the person's memories. Dismiss hides the block, and the same suggestion does not come back.
  • Questions, one-off requests, and messages already stored with remember: do not get a suggestion. Suggestions do not repeat a memory the person already has.
  • No suggestion shows when memory is off or pi runs on the person's own key, which matches when the Memory chip is hidden today.
  • Tests cover a message that should get a suggestion, one that should not, save, edit, and dismiss.
主要言語
Go
スター
5
フォーク
0
平均マージ
21時間 13分
マージ済み PR(30日)
53

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nebari-dev/tapas のほかの issue

nebari-dev/tapas の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。