Skip to content

b11136

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Sep 14:42
057494f

server: accept OpenAI video_url content type and data: video URIs (#27921)

The OpenAI chat completions API specifies content part type "video_url"
with a {"url": ...} object, and clients typically send data: URIs
(e.g. data:video/mp4;base64,...). The llama-server only accepted the
non-standard "input_video" type and rejected data: URIs for video
(accept_base64_uri=false), so any OpenAI-conformant client failed with
"unsupported content[].type" or "Invalid uri format".

  • accept "video_url" as an alias of "input_video"
  • read the media object from whichever key was used
  • allow data: URIs for video (data:video/*), as already done for images

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI: