Repository navigation
Conversation
This was referenced Nov 16, 2026
The seven per-stage presets each carried a protocol of their own, so a multi-stage vLLM-Omni server needed seven separate connections. One preset now maps every stage to its endpoints -- /chat/completions, /images/generations, /images/edits, /videos, /audio/speech, /audio/transcriptions, /images/segmentations and /videos/segmentations -- with http://127.0.0.1:8000/v1 as the default connection. Each stage keeps the protocol its adapter expects, so the form takes the protocol from the stage instead of the preset as a whole. Connections saved by the retired presets keep their provider identity: the five vLLM-Omni protocols resolve to the new preset instead of reading as "custom". The test that pinned vllm_omni to vllm-omni-video now pins the single service, and new cases cover the stage table, the per-kind options and the legacy protocols.
- Offer each per-kind stage through a stage selector instead of pinning the first protocol: image (generation, segmentation), video (generation, segmentation, depth), and audio (TTS, music, score). - Keep the local service's URL, auth mode and protocol as the defaults when the form opens on a self-hosted preset. - Resolve saved loopback `openai` stage connections to the local service; non-loopback generic OpenAI-compatible services still read as custom. Co-Authored-By: Claude Code <noreply@anthropic.com>
Xingkai98
force-pushed
the
feat/vllm-omni-local-preset
branch
from
November 19, 2026 07:54
f369b3a to
dcea95d
Compare
Xingkai98
marked this pull request as ready for review
November 19, 2026 07:57
Xingkai98
requested review from
hsliuustc0106 and
princepride
as code owners
November 19, 2026 07:57
- Provider settings checks the per-kind stage selector and endpoint note instead of the retired per-stage preset names. - Kling and MOSS flows expect the new default provider name. Co-Authored-By: Claude Code <noreply@anthropic.com>
Provider settings now removes the model configurations it creates, so the shared fixture catalogue is left as it found it. The capability workflow waits up to 30 seconds for the externally created canvas node before clicking it; the suite can run well past the default 15-second timeout. Co-Authored-By: Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebased onto
838f8d7a(#266 merged); the capability-check controls added by #266 are unchanged.Summary
Issue #224 V1: one vLLM-Omni service preset instead of seven per-stage presets.
The seven presets (image, speech, music, score, video, segmentation, depth) each carried a single protocol, so a multi-stage vLLM-Omni server had to be configured as seven separate connections. This adds
vllm-omni-local: a self-hosted preset whose default URL ishttp://127.0.0.1:8000/v1, with a per-kind stage table.openai→/chat/completionsopenai→/images/generations,/images/editsvllm_omni_segmentation→/images/segmentations,/videos/segmentationsvllm_omni→/videosvllm_omni_segmentation→/images/segmentations,/videos/segmentationsvllm_omni_depth→/videos/depthopenai(TTS) →/audio/speechvllm_omni_music→/audio/speechvllm_omni_score→/audio/transcriptionsvllm_omni_segmentation→/images/segmentations,/videos/segmentationsThe connection form shows a stage selector when a kind has more than one stage, so music, score, segmentation and depth remain reachable from the single preset. The selector also shows the stage's endpoint paths in both languages. Opening a new image/video/audio form on the preset now starts with its URL,
self_hosted, no-auth mode and first-stage protocol.Saved connections written by the retired presets keep their identity:
vllm_omni,vllm_omni_music,vllm_omni_score,vllm_omni_segmentationandvllm_omni_depthresolve to the local preset, andpresetProtocol()keeps the saved stage instead of resetting it. The retired image and speech presets used the sharedopenaiprotocol, so a self-hostedopenaiconnection resolves to the local preset only at a loopback URL (localhost,127.0.0.1,::1); a generic OpenAI-compatible service on a LAN or remote URL still reads as custom.ASR is deliberately not a stage: upstream vllm-omni does not serve
/audio/transcriptionsyet (S1 in vllm-project/vllm-omni#10007) and this application has no ASR adapter. SheetSage2 score uses the same path with its own protocol.Linked issue
Refs #224(V1; V3 docs and V4 validation remain tracked there)Labels
type:feat,area:provider(applied by the reviewer-routing workflow)Test plan
node --test tests/providerPresets.test.ts→ 26 pass, 0 failnpx tsc --noEmit→ cleannode scripts/check-i18n.mjs→ 3227 keys, 0 problemstests/browserHost.test.ts("installed server env removes source imports, ambient Node PATH and agent credentials"), which reports the host's/usr/bin/nodewhere the test expects none. It reproduces unchanged on unmodifiedmainat838f8d7a, so this PR does not introduce it.tests/browser/provider_settings.mjs,tests/browser/kling_video.mjsandtests/browser/moss_provider.mjs.checks / frontend,checks / python,checks / browser (isolated),checks / browser (voice),checks / browser (assistant),checks / static, CodeQL andtests.Evidence that it works
tests/providerPresets.test.ts; the isolated browser workflow asserts the stage selector, its endpoint note, the default URL and saved-provider identity, and passes in CI. The merged feat(providers): discover capabilities and validate generation inputs #266 capability-check paths are untouched.Provider verification
Bilingual UI
models.service.stageandmodels.service.stageEndpointsinen-USandzh-CN;check:i18npasses.Not in this PR
AI assistance
This contribution was made with assistance from Claude Code.
🤖 Generated with Claude Code