mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-09-22 16:15:34 +00:00
Addresses Codex P1 findings on the lazy provisioning path: - Scope per file like the direct upload path: current-message chat attachments (context=message_attachment) provision to the user's code sandbox / unscoped vector index (entity_id undefined); only agent setup files use entity_id=agentId. Previously every lazily provisioned file was agent-scoped, so a user's chat attachment landed in the agent sandbox and file_search queries (unscoped for fromAgent=false) missed the agent-scoped embedding. - Surface provisioned files to the tool loaded immediately after by adding them to ctx.tool_resources.<resource>.files, which primeCodeFiles/primeFiles read. Before, a freshly provisioned unified upload was invisible to the first code/file_search call even though provisioning had completed. |
||
|---|---|---|
| .. | ||
| 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 | ||