Skip to content

fix: accept video job ids in local file route#559

Open
sands321 wants to merge 1 commit into
chenyme:mainfrom
sands321:fix/video-files-accept-job-id
Open

fix: accept video job ids in local file route#559
sands321 wants to merge 1 commit into
chenyme:mainfrom
sands321:fix/video-files-accept-job-id

Conversation

@sands321
Copy link
Copy Markdown

Summary

Allow /v1/files/video to accept local video job ids with the video_ prefix in addition to plain hex file ids.

This fixes local cached video access for jobs created by /v1/videos, which are stored on disk using the video_<uuid> naming format.

Testing

  • Ran python3 -m py_compile app/products/openai/router.py
  • Verified the route change is limited to the local video file id validation regex

Related

  • N/A

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.

1 participant