Failed to generate commit message: [resource_exhausted] Error xxxxx

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Failed to generate commit message: [resource_exhausted] Error

i keep this isse all the time disregards version upgrade with random breaks when its really working.
Also when this occasionally works the rules have set that it should follow the semantics of the branch name are not honored

Steps to Reproduce

generate commit message button

Expected Behavior

commit generation works ?

Operating System

MacOS

Version Information

Version: 3.30.8
VS Code Extension API: 1.128.0
Commit: 4a44c846d0b817fab060823f93c63ea2861ac190
Date: 2026-11-11T21:36:33.134Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 43.8.4
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 27.2.0

For AI issues: which model did you use?

actually any i choose mostly
composer2.5 and grok 4.7

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Mati_Kepa, this one’s on our side. On teams where the admin restricts some models, Generate Commit Message is sent to a substitute model, and that route is failing on and off at the moment. It’s a known issue the team is aware of, and I’ve added your report to it.

For now, the most reliable option is to ask Agent in chat to write the commit message for your staged changes. Clicking the button again sometimes works, but it’s hit or miss right now.

On the branch name: the button only sees the staged diff, the last few commit messages in the repo, and a legacy .cursorrules file in the repo root. Rules in .cursor/rules and User Rules aren’t applied there, and the branch name isn’t sent, so that rule can’t take effect yet. Agent does follow your rules and can read the branch name. There’s an open feature request for this if you’d like to add your vote.

the User in the link you have sent me is no longer active
and
the link posted there leads to another FR which is solved ??