Skip to content

Add Qwen 3.5, Qwen 3.6, and MoonshotAI Kimi workflow blocks via OpenRouter#2280

Open
Erol444 wants to merge 2 commits intomainfrom
add-openrouter-qwen3-kimi-blocks
Open

Add Qwen 3.5, Qwen 3.6, and MoonshotAI Kimi workflow blocks via OpenRouter#2280
Erol444 wants to merge 2 commits intomainfrom
add-openrouter-qwen3-kimi-blocks

Conversation

@Erol444
Copy link
Copy Markdown
Contributor

@Erol444 Erol444 commented Apr 27, 2026

image

Summary

  • Add three new VLM workflow blocks served through OpenRouter, mirroring the existing google_gemma block:
    • roboflow_core/qwen3_5_openrouter@v1 (Qwen 3.5: 9B, 27B, 122B A10B, 397B A17B, Flash, Plus)
    • roboflow_core/qwen3_6_openrouter@v1 (Qwen 3.6: 27B, 35B A3B, Flash, Plus, Max Preview)
    • roboflow_core/kimi_openrouter@v1 (Kimi K2.5, K2.6)
  • Each supports the standard VLM task surface: unconstrained, ocr, structured-answering, classification, multi-label-classification, VQA, caption, detailed-caption, object-detection — wired to the existing vlm_as_classifier@v2 / vlm_as_detector@v2 / json_parser@v1 parsers.
  • Each block requires a user-supplied OpenRouter API key (api_key field accepts STRING_KIND + SECRET_KIND, private=True); no Roboflow proxy.
  • Handles OpenRouter's choices=None failure envelope explicitly.

Test plan

  • Unit tests pass for all three blocks (manifest validation + mocked execution path) — test_qwen3_5_openrouter.py, test_qwen3_6_openrouter.py, test_kimi_openrouter.py
  • All three blocks register in the loader and surface in /workflows/blocks/describe
  • Verified end-to-end in a workflow with each block feeding into vlm_as_detector@v2 + bounding_box_visualization@v1

🤖 Generated with Claude Code

…outer

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>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant