[feat] provider: wire the capability contract into the vLLM-Omni precheck path
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 32/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 119
- Forks
- 16
- Merge médio
- 16h 13min
- PRs com merge (30d)
- 195
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ThinkFlowLab/OpenDirector
-
area:provider
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
ThinkFlowLab/OpenDirector#477 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area:ci
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
ThinkFlowLab/OpenDirector#411 ·
Mantenedores costumam responder em até 1 dia
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaarea:agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
ThinkFlowLab/OpenDirector#348 ·
Mantenedores costumam responder em até 1 dia
-
area:provider
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
ThinkFlowLab/OpenDirector#311 ·
Mantenedores costumam responder em até 1 dia
-
area:desktop area:install help wanted
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
ThinkFlowLab/OpenDirector#475 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ThinkFlowLab/OpenDirector
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationTalvez já em andamento @roboclaw-bot assumiu hoje. Abertaclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
openclaw/openclaw#204323 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
virtue-initiative/virtue-initiative#953 ·
Mantenedores costumam responder em até 1 dia
-
needs-area-label
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
fumicode/bublys-org#261 ·
Mantenedores costumam responder em até 12 dias