[feat] provider: wire the capability contract into the vLLM-Omni precheck path
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with domain/capability_contract.py from #278 to see what resolve(), required_roles_for() and role_verdict() expect, then read packages/core/src/opendirector/integrations/vllm_omni.py:61 where prepare_inputs decides the first_frame/reference/continuation three-way. The blocker is #266's discovery, which is still conflicting and is the only source of the declaration document, so read that thread before writing anything. Done means the precheck consumes the discovered document without refetching, validate() rejects unsupported required roles with the contract's own reason codes, the verdict stays unknown when no document is published, and a test drives the precheck from a real declaration payload.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #278, which added domain/capability_contract.py — the parser for the omni.capabilities envelope (/v1/omni/capabilities, schema_version 1) — with no production call site. That was the intended shape of #278: a self-contained parser, integration explicitly out of scope. This issue tracks the wiring.
Why it is not in #278. Nothing in this repository obtains the omni.capabilities document yet. The only /capabilities surface is POST /api/model-configs/capabilities, which returns the videoCapabilities output-spec extension of GET /models — a different document from the one the parser reads. The producer is #266's discovery, which is open and still conflicting.
Target call site. VllmOmniGeneration.prepare_inputs (packages/core/src/opendirector/integrations/vllm_omni.py:61), where the first_frame / reference / continuation three-way is already decided. resolve() turns the declaration into per-capability availability; required_roles_for() and role_verdict() decide which of source_video / video_noise_mask / audio_noise_mask a request must carry.
Acceptance
- the declaration document obtained by #266's discovery reaches
resolve()on the precheck path, with no second fetch of the same document -
validate()refuses a request whose required roles the declaration does not support, using the contract's own reason codes (unsupported/route_disabled/role_not_declared/ …) - a test drives the precheck from a real declaration payload rather than a hand-built one
- no behavioural change when the service publishes no
omni.capabilitiesdocument (the verdict staysunknown)
Out of scope. Changing what #278 delivers; any adapter or UI surface for the capability matrix.
Depends on: #266.
- 主要言語
- TypeScript
- スター
- 119
- フォーク
- 16
- 平均マージ
- 16時間 13分
- マージ済み PR(30日)
- 195
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ThinkFlowLab/OpenDirector のほかの issue
-
area:provider
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ThinkFlowLab/OpenDirector#477 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:ci
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ThinkFlowLab/OpenDirector#411 ·
メンテナーはふだん 1 日以内に返信
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ThinkFlowLab/OpenDirector#348 ·
メンテナーはふだん 1 日以内に返信
-
area:provider
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ThinkFlowLab/OpenDirector#311 ·
メンテナーはふだん 1 日以内に返信
-
area:desktop area:install help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
ThinkFlowLab/OpenDirector#475 ·
メンテナーはふだん 1 日以内に返信
ThinkFlowLab/OpenDirector の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verification対応中かも @roboclaw-bot が今日担当しました。 オープンclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
openclaw/openclaw#204323 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
virtue-initiative/virtue-initiative#953 ·
メンテナーはふだん 1 日以内に返信
-
needs-area-label
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
fumicode/bublys-org#261 ·
メンテナーはふだん 12 日以内に返信