mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 21:08:17 +00:00
* ⚡ perf: Exclude Agent Version History From Default `getAgent` Reads
getAgent now defaults its projection to { versions: 0 }; loadAgent/loadAddedAgent
and canAccessAgentFromBody use getAgentWithVersionCount so the version count stays
exact without transferring the unbounded versions array on every chat request.
Callers that need history (v1 update/revert handlers) request it explicitly.
* fix: tighten agent version projection types
* fix: type projected agent version counts
* fix: type default agent projection
* style: format agent projection overload
* fix: expose projected agent return type
|
||
|---|---|---|
| .. | ||
| addedConvo.js | ||
| addedConvo.spec.js | ||
| backgroundCompletion.js | ||
| build.js | ||
| eventChildLease.js | ||
| index.js | ||
| initialize.js | ||
| initialize.spec.js | ||
| skillDeps.js | ||
| skillDeps.spec.js | ||
| subagentThreadStore.js | ||
| subagentThreadStore.spec.js | ||
| title.js | ||
| title.test.js | ||