Repository navigation
[Workers AI] Update model reasoning efforts - #33541
Conversation
AI Review✅ Reviewed Not reviewed (1)
Commands
|
All the review comments are good as is, should not change.
|
Gemma 4 and Kimi K2.7 Code have no reasoning effort levels, so their schemas no longer list reasoning_effort; Gemma's thinking toggle defaults to on. GLM-5.3 documents the minimal and xhigh aliases, and Nemotron's schema matches its production custom schema.
Models whose reasoning can be turned on or off but has no effort levels now read like the legacy reasoning flag and custom-schema models.
Match the current production Config API schema wording.
ebea8e2 to
22ff226
Compare
Update model docs to use the newly exposed
reasoning_effortvalue from our/ai/models/searchAPI.The Model Info table now shows the supported reasoning efforts, sometimes including
none(aka the standard for reasoning-disabled), instead of only "yes/no"."Yes/No" is still used for models without a
reasoning_effortproperty, and for models whose reasoning can be turned on or off but has no effort levels (for example Gemma 4 and GLM-4.7-Flash).Models whose reasoning is mandatory w/ no effort levels (Kimi K2.7 Code) show "Always on".
It also appears correctly in the "API Schemas"

CSS styling
Before: 20 of 65 "Model Info" tables used "striped table rows" styling, while 45 of 65 model tables were "plain" without striping.
The striping makes the code-styled reasoning effort low-contrast and hard to read.
After: Model Info now explicitly opts out of striping; ordinary long documentation tables retain striping.
Example of the "striped table rows"

Validation:
GET /ai/models/schemahandler against a fresh production ConfigAPI dump. Only reasoning models were updated; unrelated schema drift was left alone.apps/rest-api/scripts/build-openapi-schema.tsfrom the related SDK branch against a fresh production ConfigAPI catalogue.Documentation checklist