Skip to content

Agent Memory v0.2.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 10:40
· 47 commits to main since this release
Immutable release. Only release title and notes can be modified.
85894b5

Upgrading

No data or configuration changes. From 0.2.0, or anything since 0.1.1:

git fetch --tags && git checkout v0.2.1
docker compose up -d --build

Clients keep working. Update amem when convenient (REMOTE-CLIENTS §4).

Fixes

Clear failure reasons from CLI LLMs (#17, #18, #19, @blackhorseya)

When a CLI LLM such as codex exec failed, the error shown in the Panel's pipeline "last error" and in the logs used to be:

`codex` exited with exit status: 1: OpenAI Codex v0.163.0 -------- workdir: … user <system> You are a scene-segmentation …

It held the first 300 characters of output, which were the banner and the echoed prompt. The real cause, such as Selected model is at capacity, never appeared. Now:

  • Only what the tool prints after the echoed prompt is used. The conversation being distilled no longer reaches the logs or the Panel.
  • The last line starting with error: is used, for example codex's ERROR: {…"message": …}. Without such a line, the end of the output is kept. With no output at all, the reason is no error output.
  • Lengths are counted in characters, so Chinese text is never cut mid-character.

Other

  • The project is now under the MIT License, and each amem archive includes LICENSE.

Thanks to @blackhorseya for #17, #18 and #19.


升級

資料和設定都沒有改變。從 0.2.0 或 0.1.1 之後的任何版本升級:

git fetch --tags && git checkout v0.2.1
docker compose up -d --build

client 不受影響,方便時再更新 amem(REMOTE-CLIENTS §4)。

修正

CLI LLM 失敗時會顯示真正的原因(#17、#18、#19,@blackhorseya)

以前 codex exec 這類 CLI LLM 失敗時,Panel 的 pipeline「last error」和 log 裡看到的是:

`codex` exited with exit status: 1: OpenAI Codex v0.163.0 -------- workdir: … user <system> You are a scene-segmentation …

這是輸出的前 300 個字元,內容只有 banner 和回顯的 prompt,真正的原因(例如 Selected model is at capacity)完全看不到。現在:

  • 只看工具在回顯 prompt 之後印出的內容,正在蒸餾的對話不會再出現在 log 和 Panel。
  • 取最後一行以 error: 開頭的內容,例如 codex 的 ERROR: {…"message": …}。沒有這種行時保留輸出的結尾;完全沒有輸出時,顯示 no error output。
  • 長度以字元計算,中文不會被切在字的中間。

其他

  • 專案採用 MIT License,每個 amem 壓縮檔都附上 LICENSE。

感謝 @blackhorseya 貢獻 #17、#18、#19。