mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 14:08:21 +00:00
With execute_code and resendFiles, a code-environment file is loaded into the turn's attachments on every turn. addPreviousAttachments treated every attachment as submitted by the current request, so the file's text was cut from the message it was attached to and added to the newest message. The bytes in the middle of the history changed each turn and the provider cache stopped at that point. Only files named in req.body.files move to the current message. A refreshed tool file stays in its own message, and the latest message skips files an earlier message already carries, so the text appears once and the attachment limits count it once. Reported-by: FFourtyTwo |
||
|---|---|---|
| .. | ||
| app/clients | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| recover-skill-upload.js | ||
| typedefs.js | ||