mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
A model asks to change the person's memory or an agent profile with propose_change. The host stores a proposal and writes nothing until the owner confirms; the write is one workspace change set, so revert_change and the Files history can undo it. A proposal expires after 24 hours, is refused when the target changed meanwhile, and is capped at 10 pending per person and 5 per hour per agent. The host holds no platform code. The origin of the chat is recorded as the source, so a Studio chat and the connector chats of any platform use the same path. A gate decides if a chat may propose; the default refuses a chat that runs a saved agent until grants fill it. Every step is audited with a content hash, not the content. Assisted-by: Claude Code:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>