[AI Gateway] Add Qwen and LTX model catalog entries - #32677
Open
shridhar-cf wants to merge 5 commits into
Open
Conversation
shridhar-cf
marked this pull request as ready for review
August 11, 2026 23:09
shridhar-cf
requested review from
a team,
ethulia,
kathayl,
kflansburg,
mattrothenberg,
mchenco,
palashgo,
roerohan,
superhighfives and
zeke
as code owners
August 11, 2026 23:09
Contributor
Review🚨 1 critical, 👉 Fix in your agent 👈Fix the following review findings in PR #32677 (https://github.com/cloudflare/cloudflare-docs/pull/32677).
Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.
The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.
---
## Code Review
### Critical (1)
#### CR-9eaf3a686e97 · Non-existent or unverified model
- **File:** `src/content/catalog-models/alibaba-qwen3.7-max.json` line 4
- **Issue:** The model name 'Qwen 3.7 Max' and model_id 'alibaba/qwen3.7-max' do not correspond to any known model in Alibaba's Qwen family. Known models include qwen-max, qwen-plus, qwen-turbo, qwen2.5-max, qwen3, etc., but there is no recognized 'Qwen 3.7' series.
- **Fix:** Verify the exact model ID and name with Alibaba's published model catalog before merging; if this is a typo, correct it to the real model name/ID.
### Warnings (4)
#### CR-0240056f2823 · Inconsistent context length
- **File:** `src/content/catalog-models/alibaba-qwen3.7-max.json` line 13
- **Issue:** context_length is null on line 13, but metadata on line 54 claims a 'Context Window' of '1M tokens'. These two fields contradict each other.
- **Fix:** Set context_length to the actual numeric value if the context window is known, or remove the metadata claim if it is not verified.
#### CR-85a3ec5be621 · Likely unsupported request format
- **File:** `src/content/catalog-models/alibaba-qwen3.7-max.json` line 58
- **Issue:** request_formats lists 'responses' on line 58. The responses API is a newer OpenAI-specific format, and there is no indication that Alibaba's DashScope endpoint supports it.
- **Fix:** Remove 'responses' from request_formats unless the provider explicitly documents support for this API format.
#### CR-5c9fd7009a55 · Audio schema copied into text model
- **File:** `src/content/catalog-models/alibaba-qwen3.7-max.json` line 152
- **Issue:** The input schema starting at line 152 includes 'modalities' and 'audio' fields with OpenAI voice/format enums, and the output schema at line 321 includes audio output fields. This model is listed as a 'Text Generation' task and described as a text/code/reasoning model, so audio-specific schema fields are likely erroneous.
- **Fix:** Remove the audio and modalities fields from both input and output schemas unless this model genuinely supports audio input/output.
#### CR-03ecd35ea130 · Schema claims unsupported audio capability
- **File:** `src/content/catalog-models/alibaba-qwen3.7-plus.json` line 152
- **Issue:** The model description only advertises text, image, and video understanding, with no mention of audio. However, the input schema declares `modalities: ["text", "audio"]` and an `audio` object containing OpenAI-specific voice names (`alloy`, `ash`, `ballad`, etc.) and formats, and the output schema at line 321 also declares `audio` output fields.
- **Fix:** Remove the `modalities`, `audio`, and output-schema `audio` properties unless Qwen 3.7 Plus actually supports audio through DashScope; if audio is supported, use the correct DashScope voice/format identifiers rather than OpenAI-specific ones.
Code ReviewThis code review is in beta and may not always be helpful — use your judgment. Critical (1)
Warnings (4)
ConventionsNo convention issues found. Style Guide ReviewNo style-guide issues found. CommandsOnly codeowners can run commands. Post a comment with the command to trigger it.
|
shridhar-cf
force-pushed
the
docs/qwen-lightricks
branch
from
August 12, 2026 18:26
db0814b to
3318e38
Compare
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.
Summary
Adds five AI Gateway model catalog entries for Qwen 3.7 Max, Qwen 3.7 Plus, Qwen 3.8 Max, Qwen Image 3.0 Pro, and LTX 2.5 Fast.
Documentation checklist