[feat] provider: wire the capability contract into the vLLM-Omni precheck path
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 32/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 119
- Forks
- 16
- Merge medio
- 16 h 13 min
- PR fusionados (30 d)
- 195
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ThinkFlowLab/OpenDirector
-
area:provider
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ThinkFlowLab/OpenDirector#477 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ThinkFlowLab/OpenDirector#411 ·
Los mantenedores suelen responder en 1 día
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ThinkFlowLab/OpenDirector#348 ·
Los mantenedores suelen responder en 1 día
-
area:provider
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ThinkFlowLab/OpenDirector#311 ·
Los mantenedores suelen responder en 1 día
-
area:desktop area:install help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
ThinkFlowLab/OpenDirector#475 ·
Los mantenedores suelen responder en 1 día
Todos los issues de ThinkFlowLab/OpenDirector
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationPosiblemente ocupada @roboclaw-bot la tomó hoy. Abiertoclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
openclaw/openclaw#204323 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
virtue-initiative/virtue-initiative#953 ·
Los mantenedores suelen responder en 1 día
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
fumicode/bublys-org#261 ·
Los mantenedores suelen responder en 12 días