mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
The host now calls the roles of the notes slot itself, not only the tools the model sees. - At the start of a turn the context role is called with a 3 s limit and a 6 KiB cap. The text goes in front of the message as data, in markers that it cannot close, and not in the prompt, so it does not restart the chat engine. The session passes the turn message to the hook and takes an optional per-turn context block from it. - A write through a provider follows the save level, the agent grant and the messaging rules. Only Save and tell me applies a write at once, and not for a remote provider that cannot undo. Other writes are held for a confirmation. - The export and the forget of a provider are routed by GET and DELETE /api/chats/memory. - A provider that fails three times in a row is left alone for a minute, the slot shows a plain notice and the chat goes on without notes. - Every call writes one audit line with the outcome and the size, and never any text. - The add-on that the built-in provider replaces is an alias: it is not listed and a choice that names it means the built-in provider. Assisted-by: Claude:claude-sonnet-5-5 go