mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-11 01:49:46 +08:00
web 端 NoteForm 早就有 video_understanding / video_interval / grid_size 三件套, 插件之前没有,导致用户在视觉模型上想用「画面理解」时只能去 web 端发任务。 新增字段(types.ts Settings 与 GenerateRequest 同步): - video_understanding: boolean,默认 false(关) - video_interval: number,1-30 秒,默认 6(与 web NoteForm 默认一致) - grid_size: [number, number],1-10,默认 [2,2] UI 落地: - popup 「高级」折叠区:开关 + interval + grid_size 行/列三栏,启用时才显示后两个, 并提示需要选视觉模型 - options General 页:单独一节「视频理解(多模态)」展开同样字段 - popup start() 与 background startTask() 在 generate_note 请求里带上这三个字段; 关闭时不传(避免覆盖 backend 默认) 回归风险:默认 false,对现有用户行为不变。 依赖:feature/extension-form-parity(叠加在它之上,因为 Settings 是同一片字段域)。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>