返回全部动态

llama.cpp b10773 发布:服务器支持视频音频 data URL

原标题:b10773

llama.cpp Releases一手来源产品发布质量 72

AI 摘要

llama.cpp 发布 b10773 版本,主要更新是服务器端支持 input_video 和 input_audio 的 data: URL,与 image_url 保持一致,并允许视频/音频 MIME 类型。同时简化了 handle_media 函数,移除了未使用的 accept_base64_uri 标志,并增加了对无效 data URI MIME 的单元测试。该修复解决了媒体探测错误,并将格式错误的输入从 500 错误改为 400 错误。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<details open> server : accept data: URLs for input_video and input_audio (#27735) * server : accept data: URLs for input_video and input_audio input_video and input_audio passed accept_base64_uri=false to handle_media(), so data: URLs got treated as raw base64 strings and failed later with a confusing media probe error (#27724). pass true for these two content types the same way image_url already does, and allow video/audio mime types in the data: url check instead of image only. data URL v


发布时间:2026-09-03 09:25
抓取时间:2026-09-03 10:00
来源机构:ggml-org
阅读原文github.com