feat(agents)!: in LongTermMemory add failure policy and remove ingestion timing#1963
feat(agents)!: in LongTermMemory add failure policy and remove ingestion timing#1963
Conversation
There was a problem hiding this comment.
Looks good. Am I right that the main logical change is that there's no option to select ingestion timing now. Now automatic ingestion, if configured, happens only once per agent execution, after the agent completes, and the whole prompt is used to search for relevant facts?
And the FailurePolicy, of course
Thanks! The ingestion now happens only at the end, but only the last user message (before LLM call) is used for retrieval with the default
I'll think about the naming a bit more, "extract" in both places is not great. |
a0ee00f to
7118fd4
Compare
The PR fixes two issues in
LongTermMemory:Also, the PR improves the default
InMemoryRecordStorageand makes the feature non-experimental.BREAKING:
DEPRECATED:
*
closes