Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge remote-tracking branch 'origin/main' into maint/pr377-adjustments

AkitaOnRails11fcf718b498
diff --cc CHANGELOG.md
index 0b1c5e49,89814c6a..3caff100
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -35,18 -35,17 +35,29 @@@ and this project adheres to [Semantic V
session starts, user prompts, and pre-tool events now advance shared or
identity-only fallbacks; other events refresh exact session mappings, and
dropped-subagent preflight no longer publishes scope (#372).
+- The Anthropic provider no longer sends `temperature` to models that
+ rejected it. Claude 5 (Opus / Sonnet / Fable) and Opus 4.7+ answer any
+ request carrying a sampling parameter with a 400 reporting `temperature`
+ as deprecated for that model, which the server surfaced as a 502 — so
+ `bootstrap`, consolidation, `lint`, and the auto-improvement loop all
+ failed on those models, since every structured call site sets 0.1-0.2.
+ The field is now omitted for the affected models (the API applies its own
+ default) and forwarded unchanged everywhere else, mirroring the existing
+ gpt-5 / o-series handling in the OpenAI provider. Affects both
+ `anthropic` and `anthropic-oauth`. Note that `llm-test` sends no
+ `temperature`, so it reported these models as healthy while every real
+ pipeline call failed ([#377]).
+ - Both wrappers (`bin/ai-memory` and `bin/ai-memory.ps1`) now forward
+ `ANTHROPIC_OAUTH_TOKEN` and `CLAUDE_CODE_OAUTH_TOKEN` to the helper
+ container. Their API-key counterparts were already in the passthrough list,
+ so subscription-token setups (`claude setup-token`,
+ `AI_MEMORY_LLM_PROVIDER=anthropic-oauth`) silently lost their credential at
+ the container boundary. The visible symptom is that the retry `status`
+ itself recommends — `llm-test --provider anthropic-oauth` — fails with a
+ missing-token error, because `llm-test` runs client-side in the helper
+ rather than on the server. The PowerShell wrapper also trims trailing path
+ separators as individual characters, so Windows invocations reach Docker
+ instead of failing during path normalization (#379).
## [1.24.0] - 2026-08-04