This PR addresses the issue where models with reasoning capabilities
were causing edits to fail when selected in the Inline Edit model
selector.
Changes Made
- Added logic to filter out the ModelUsage.Edit capability from any
model that has the reasoning capability Introduced new model
capabilities reasoning and tools to properly identify models with these
features Added corresponding model tags Reasoning and Tools to the tag
enum Updated code to maintain the model capabilities but selectively
remove edit usage when reasoning is detected Added entry to the
changelog to document this fix
- Implementation Details
- The core fix is implemented by checking if a model's capabilities
include 'reasoning' and, if so, removing the Edit usage from that
model's available usages. This prevents reasoning-enabled models from
appearing in the Inline Edit model selector while maintaining their
availability for chat and other supported features.
## Test Plan
The change has been tested to ensure that:
- Reasoning models no longer appear in the Inline Edit model selector
- Reasoning models remain available for chat and other supported
features
- Non-reasoning models with edit capability still work as expected
Before - connect to dotcom and open the inline edit model selector, 3.7
sonnet is listed in the dropdown

After - 3.7 removed
