Skip to content

sync: merge usnavy13/main (4 commits, storage_session_id contract alignment)#6

Merged
djuillard merged 7 commits into
mainfrom
sync/upstream-2026-05-14
May 14, 2026
Merged

sync: merge usnavy13/main (4 commits, storage_session_id contract alignment)#6
djuillard merged 7 commits into
mainfrom
sync/upstream-2026-05-14

Conversation

@djuillard
Copy link
Copy Markdown

Summary

Sync On-Behalf-AI/LibreCodeInterpreter:main with upstream usnavy13/LibreCodeInterpreter:main (4 commits behind before this PR). Brings in the contract alignment with LibreChat dev (post-2026-05-12) so the code-interpreter stops 422-ing on every /exec call from LibreChat dev.

Notable upstream changes pulled

Conflicts

None. git merge upstream/main ran clean — main local (which hadn't touched src/api/files.py / src/models/exec.py since 2026-05-08) absorbed the 4 upstream commits as a pure merge.

Stats

  • 22 files changed, +259 insertions, -101 deletions
  • Merge commit: ed5e339

Context — superseded local WIP

We had started writing our own compat patch on fix/librechat-dev-2026-05-12-compat (4 commits, 13 integration tests) before realizing PR usnavy13#110 had been merged upstream 30 min earlier covering the same ground (plus PTCFileInput, FileRef, and the GET /files query params — wider scope than what we'd written). That local branch is abandoned in favour of this sync. See SECURITY-OPERATIONS.md (entry to add) for the timeline.

Test plan

🤖 Generated with Claude Code
via Happy

usnavy13 and others added 7 commits May 8, 2026 22:15
docs: Add Star History section to README.md
Updated the API responses and models to replace all instances of session_id with storage_session_id for consistency. This change includes updates to the upload, list, and batch file operations, as well as adjustments in the corresponding tests and documentation to reflect the new naming convention.
…support

Updated the upload_files_batch and list_files functions to include support for resource kind and version parameters. The upload logic now marks files as agent files based on the kind provided. Additionally, the RequestFile and FileRef models have been updated to accept resource_id, kind, and version fields, with corresponding tests added to validate these changes.
fix: Align API contract with LibreChat client (storage_session_id, kind, resource fields)
fix: Align API contract with LibreChat client (storage_session_id, kind, resource fields)
@djuillard djuillard merged commit 826ea06 into main May 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants