Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Data regression in the beforeSubmitPrompt hook. The model field no longer returns the full descriptive model name (e.g., claude-4.6-opus-high-thinking) and instead only returns the general group name (e.g., claude-opus-4-6). This breaks logic dependent on specific model variations (reasoning levels, speed, etc.).
Steps to Reproduce
- Use the latest version of Cursor with the new Agent model management.
- Implement or use a script that monitors the beforeSubmitPrompt hook.
- Start a chat in Agent mode selecting a specific sub-model (e.g., a “high-thinking” variant).
- Inspect the model parameter received in the hook.
- Observe that it only shows the base group name, not the specific variant selected.
Expected Behavior
The model field should provide the full, specific model identifier as it did previously, or include a new metadata field containing sub-model details (like low/medium/high thinking or fast/max modes)
Operating System
Windows 10/11
Version Information
Version: 3.2.11 (system setup)
VSCode Version: 1.105.1
Commit: e9ee1339915a927dfb2df4a836dd9c8337e17cc0
Date: 2026-04-24T14:36:47.933Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.22631
For AI issues: which model did you use?
claude-4.6-opus-high-thinking
Does this stop you from using Cursor
No - Cursor works, but with this issue