curl --request PUT \
--url http://localhost:8080/api/v2/config/memory/episodic/short_term \
--header 'Content-Type: application/json' \
--data '
{
"llm_model": "<string>",
"message_capacity": 1,
"enabled": true
}
'{
"success": true,
"message": "<string>"
}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:
curl --request PUT \
--url http://localhost:8080/api/v2/config/memory/episodic/short_term \
--header 'Content-Type: application/json' \
--data '
{
"llm_model": "<string>",
"message_capacity": 1,
"enabled": true
}
'{
"success": true,
"message": "<string>"
}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.x > 0