Patch Changes
-
e05589c: Add long-term memory to chat sessions.
- On a session's first turn, the user's memory summary is added once as a hidden message, capped at about 1,000 tokens.
- UI chats and sessions on agents with
config.memory.enabledgetmemory_searchandmemory_addtools on the main agent only;memory_addruns only when the user asks to remember something. - Memory works in TrueFoundry mode only, behind the
TRUEFOUNDRY_MEMORY_*settings and the tenant allowlist. - Saving an agent or inline spec that turns memory on while it is unavailable for the deployment or tenant returns 422.
-
379d26a: Default the model HTTP header timeout to 20 seconds in the core client and server configuration. Keep the model body timeout at 120 seconds and preserve the environment override.
-
9c116a9: Prepend
user-agent: trueforge/<version>on model and MCP outbound fetches (viaOutboundFetchOptions.userAgent) and on ServiceFoundry server calls so TrueFoundry can identify TrueForge traffic and its version. -
033a3c1: Add long-term memory ingestion behind
TRUEFOUNDRY_MEMORY_ENABLED(TrueFoundry mode only, off by default), configured like the shared sandbox withTRUEFOUNDRY_MEMORY_PROVIDER(zep),TRUEFOUNDRY_MEMORY_API_KEYan optionalTRUEFOUNDRY_MEMORY_SERVER_URLand optionalTRUEFOUNDRY_MEMORY_SETTINGSJSON for the loop, for the tenants inTRUEFOUNDRY_MEMORY_TENANT_ALLOWLIST(every tenant when it is empty). Only ids reach Zep, never a user's or agent's name: Zep users map back to TrueForge users through their metadata. Amemory-ingestcontroller loop sends finished UI chats, and sessions on registry agents whose manifest enables memory, to Zep: user messages,ask_user_questionanswers and the final agent reply (context only). Progress is kept in a newmemory_ingest_cursortable. ExportASK_USER_QUESTION_TOOL_NAMEfrom core.