Hi folks! Gotta say I absolutely love Cursor and use it every day. It is definitely the best AI integrated coding platform out there.
If you search the forums, you’ll notice that there are lots of instances of Cursor “accidentally” switching user’s default model parameters to Grok models. The dev team insists that this is a bug, however, I found a GetDefaultModelNudgeData API call that is made every time Cursor starts up.
I’m sure this is all going to get fixed by the devs and we won’t have to suffer through this “bug” much longer, but I figured I’d help out a little for those that may be a little impatient like me.
Without further ado, I’d like to introduce Grok-Block! Grok-Block is an open source tool I built with cursor that has two components:
-
A quiet little service called
cursor-nudge-guardthat simply resets the nudge flag to false, preventing any nudged models from overriding your current settings. -
A set of pre-prompt hooks that simply checks if grok is the currently selected model for the prompt and just prevents the prompt from executing, letting you know that a grok model is currently selected.
I’ve only tested this on windows, but I would love contributions to ensure this works across mac and linux as well!