Skip to content

Commit 8b31f09

Browse files
Erol444claudePawelPeczek-Roboflow
authored
Add Qwen 3.5, Qwen 3.6, and MoonshotAI Kimi workflow blocks via OpenRouter (#2280)
* Add Qwen 3.5, Qwen 3.6, and MoonshotAI Kimi workflow blocks via OpenRouter Three new VLM workflow blocks served through OpenRouter, mirroring the existing google_gemma block. Each supports the standard task surface (unconstrained, ocr, structured-answering, classification, multi-label, VQA, caption, detailed-caption, object-detection) and ships with unit tests covering manifest validation and the request execution path. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Run isort on loader.py Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Update Google Gemma -> Google Gemma API, so it's clear its via API. This will allow us to add "selfhosted" gemma 4 later --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Paweł Pęczek <146137186+PawelPeczek-Roboflow@users.noreply.github.com>
1 parent 5d7e0e6 commit 8b31f09

11 files changed

Lines changed: 2925 additions & 2 deletions

File tree

inference/core/workflows/core_steps/loader.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@
248248
from inference.core.workflows.core_steps.models.foundation.google_vision_ocr.v1 import (
249249
GoogleVisionOCRBlockV1,
250250
)
251+
from inference.core.workflows.core_steps.models.foundation.kimi_openrouter.v1 import (
252+
KimiOpenRouterBlockV1,
253+
)
251254
from inference.core.workflows.core_steps.models.foundation.llama_vision.v1 import (
252255
LlamaVisionBlockV1,
253256
)
@@ -274,9 +277,15 @@
274277
from inference.core.workflows.core_steps.models.foundation.perception_encoder.v1 import (
275278
PerceptionEncoderModelBlockV1,
276279
)
280+
from inference.core.workflows.core_steps.models.foundation.qwen3_5_openrouter.v1 import (
281+
Qwen35OpenRouterBlockV1,
282+
)
277283
from inference.core.workflows.core_steps.models.foundation.qwen3_5vl.v1 import (
278284
Qwen35VLBlockV1,
279285
)
286+
from inference.core.workflows.core_steps.models.foundation.qwen3_6_openrouter.v1 import (
287+
Qwen36OpenRouterBlockV1,
288+
)
280289
from inference.core.workflows.core_steps.models.foundation.qwen3vl.v1 import (
281290
Qwen3VLBlockV1,
282291
)
@@ -918,6 +927,9 @@ def load_blocks() -> List[Type[WorkflowBlock]]:
918927
Qwen25VLBlockV1,
919928
Qwen3VLBlockV1,
920929
Qwen35VLBlockV1,
930+
Qwen35OpenRouterBlockV1,
931+
Qwen36OpenRouterBlockV1,
932+
KimiOpenRouterBlockV1,
921933
SmolVLM2BlockV1,
922934
Moondream2BlockV1,
923935
OverlapBlockV1,

inference/core/workflows/core_steps/models/foundation/google_gemma/v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@
114114
class BlockManifest(WorkflowBlockManifest):
115115
model_config = ConfigDict(
116116
json_schema_extra={
117-
"name": "Google Gemma",
117+
"name": "Google Gemma API",
118118
"version": "v1",
119-
"short_description": "Run Google's Gemma model with vision capabilities.",
119+
"short_description": "Run Google's Gemma model with vision capabilities via OpenRouter.",
120120
"long_description": LONG_DESCRIPTION,
121121
"license": "Gemma Terms of Use",
122122
"block_type": "model",

inference/core/workflows/core_steps/models/foundation/kimi_openrouter/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)