You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the main branch.
Discussion
----------
[AI Bundle] add `ResetInterface` to prevent memory leaks
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | yes
| Docs? | no
| Issues | Fix#1531
| License | MIT
This PR introduces the `ResetInterface` and `reset` tags to the tracers and in memory stores. These changes help optimize memory usage by preventing unnecessary memory increases with each request. Additionally, they ensure that erroneous information is no longer displayed in the profiler, improving accuracy and performance monitoring.
Commits
-------
274862c [AI Bundle][MCP Bundle][Chat][Store] add `ResetInterface` to prevent memory leaks
Copy file name to clipboardExpand all lines: src/ai-bundle/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ CHANGELOG
8
8
*[BC BREAK] Rename service ID prefix `ai.toolbox.{agent}.agent_wrapper.` to `ai.toolbox.{agent}.subagent.`
9
9
* Add support for `DocumentIndexer` when no loader is configured for an indexer
10
10
*[BC BREAK] The `host_url` configuration key for `Ollama` has been renamed `endpoint`
11
+
* Add `ResetInterface` support to `TraceableChat`, `TraceableMessageStore`, `TraceablePlatform` and `TraceableToolbox` to clear collected data between requests
0 commit comments