Update Short Term Memory Config
Configuration
Update Short Term Memory Config
Update short-term memory configuration.
This endpoint updates the short-term memory configuration at runtime. Only the fields you supply are modified; omitted fields retain their current values.
The configuration includes:
- llm_model: The language model to use for summarization
- message_capacity: Maximum message capacity in characters
- enabled: Whether short-term memory is enabled
PUT
Update Short Term Memory Config
Documentation Index
Fetch the complete documentation index at: https://docs.memmachine.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Specification for updating short-term memory configuration with enabled flag.
The ID of the language model to use for short-term memory summarization.
Must reference a language model configured in the resources section.
The maximum message capacity for short-term memory, in characters.
When exceeded, older messages are summarized.
Required range:
x > 0
