Conversation
Contributor
|
👋 Thanks for the contribution! LibreChat merges all changes into Nothing is needed from you; your commits, reviews and discussion are unchanged. If the diff now shows files you did not touch, rebase onto git remote add upstream https://github.com/LibreChat-AI/LibreChat.git
git fetch upstream dev
git rebase upstream/dev
git push --force-with-leaseMaintainers: apply the |
iprasen
force-pushed
the
feat/azure-sora-video-generation
branch
from
September 28, 2026 18:26
c83b6a8 to
c8c5478
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7702
/claim #7702
Description
This PR integrates OpenAI's Sora video generation model into LibreChat, supporting both Azure OpenAI and standard OpenAI endpoints.
Key Changes
Sora.js):Toolsupporting prompt, resolution (1280x720,720x1280,1920x1080,1080x1920), and duration (5s, 10s).POST /openai/v1/video/generations/jobsand polls status until completion with exponential backoff and timeout handling.api-keyauth +api-version) and standard OpenAI (Bearerauth).processFileURLto download and store video files locally/cloud storage.<video controls>player for seamless in-chat previews.content_and_artifacttuples (ContentTypes.VIDEO_URL).soratomanifest.jsonwithauthConfigsupportingSORA_API_KEYorAZURE_OPENAI_API_KEY.handleTools.jsandtools/index.js.videoGenToolsset inpackages/data-provider/src/config.ts.api/app/clients/tools/structured/specs/Sora.spec.jscovering initialization, Azure vs OpenAI header routing, URL generation, async polling loop, and error handling.