mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 13:00:55 +00:00
* fix(agents): skip the empty-memory notice for agents that cannot use memory Since #16301 formatMemoryContext('') returns the bare memory instructions sentence, and prepareRuntimeAgent applied it to the primary agent whenever the user had no saved memories. An agent with no memory tools and no automatic memory extraction can neither read nor write memory, so the sentence told the model nothing it could act on, yet it reached the model as per-turn context. The empty-store notice is now added only when the agent has memory tools or automatic extraction is on. Saved memories are still injected as before. * fix(agents): distinguish relocated context from user input * fix(agents): narrow runtime context types --------- Co-authored-by: shars <32410570+Shabonasar@users.noreply.github.com> Co-authored-by: Lia <lia@librechat.ai> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| agents | ||
| assistants | ||
| auth | ||
| AuthController.js | ||
| AuthController.spec.js | ||
| avatar.contentFilter.spec.js | ||
| Balance.js | ||
| Balance.spec.js | ||
| EndpointController.js | ||
| FavoritesController.js | ||
| FavoritesController.spec.js | ||
| mcp.js | ||
| mcpApps.js | ||
| mcpApps.test.js | ||
| ModelController.js | ||
| ModelController.spec.js | ||
| PermissionsController.js | ||
| PluginController.js | ||
| PluginController.spec.js | ||
| ReasoningCapabilitiesController.js | ||
| SkillStatesController.js | ||
| TokenConfigController.js | ||
| tools.js | ||
| TwoFactorController.js | ||
| UserController.js | ||
| UserController.spec.js | ||