Repository navigation
fix(cloudflare): correct catalogue reasoning efforts & base_models - #7454
Conversation
base_models
Action items
|
|
Evaluated both findings in the review:
|
Action items
|
|
Both findings compare these dated releases with the older DeepSeek V4 preview. The creator documentation explicitly distinguishes them:
The current Workers AI per-model configuration agrees: Kept the model values and added exact creator citations beside both entries in |
Action items
|
|
Addressed the Kimi finding in 62e43e9: The DeepSeek Pro finding compares two different releases. This file serves DeepSeek-V4-Pro-0813, while |
|
No actionable findings. |
Some listings advertise a larger window than the serving backend accepts, so
a client that fits its output to the listed window still sends requests the
provider rejects.
Workers AI: glm-5.3, glm-5.3-flash and deepseek-v4-flash-0731 are listed at
1,310,720 tokens by /ai/models/search and the model pages, but the backend
rejects any request over 1,048,576 ("Requested token count exceeds the model's
maximum context length of 1048576 tokens"). The deepseek-v4-flash-0731 model
page already says 1,048,576. #7454 capped these, then the automated sync in
#7640 restored 1,310,720 because it re-derives context from search on every
run. Pin the served window in the sync (it only ever lowers a window) and
correct the three files.
AI Gateway: anthropic/claude-sonnet-4.5 was curated to 1,000,000 since the
generator port, but the gateway rejects prompts over 200,000 tokens
("prompt is too long: 231024 tokens > 200000 maximum") and the model page
says 200,000. Drop the curated override so the catalog value applies.
Refresh 14 Workers AI catalogue entries using the September 18 Search snapshot. Independent of the sync update; either PR can merge first.
Source priority: Search supplies verified Workers-specific reasoning controls; existing controls remain where Search is silent. Existing canonical model records supply creator metadata, while Workers-specific overrides remain in provider entries. Keep conservative catalogue limits and reduce only the four values above the Workers ceiling of 1,048,576.
low/medium/highchat_template_kwargs.enable_thinkinglow/medium/highnone/highlow/high/maxhigheffortreasoning_options = []Nine reasoning updates and five links to existing canonical models, using the current schema. Nemotron and Qwen3.8 changes are formatting-only. All 27 models are retained. SEA-LION inherits the canonical description of its Southeast Asian language tuning.
Why Search supersedes the generic input-schema enum: the inspected per-model Search configuration explicitly normalizes
lowandmediumtohighfor Gemma 4 and Kimi K2.6, with supported effortshigh/none. They are aliases, not distinct model effort levels;nonealready represents off, so the catalogue does not duplicate it with a toggle. GLM-4.7's configuration was corrected to describe only binary thinking, matching the creator's template. Currentsync-input.jsonschemas still show the genericlow/medium/highenum; that does not establish model-specific effort controls.The dated DeepSeek V4 Pro 0813 and Flash 0731 releases retain their model-specific effort sets: the Pro 0813 creator documentation and Workers configuration explicitly support distinct
low/high/maxlevels. Older preview entries are not the baseline for these dated releases. Kimi K2.7's accepted aliases all normalize to mandatoryhigh, so it has no caller control.Search sources and the input-schema discrepancy are recorded in the changed files. Corresponding Search context corrections are still needed to prevent later syncs from restoring oversized values.
Validation:
bun validatepasses without the sync PR. Review follow-ups correct SEA-LION's inherited description and remove Kimi K2.7's redundant fixed-effort selector; conservative catalogue limits remain unchanged.