Windows version:
Open Cursor, select File-Preferences-Cursor Settings
Mac version:
Enter the API KEY generated from 302.AI Backend-Use API — API Keys, input Base URL: https://api.302.ai/v1/chat/completions
, click Save, then click Verify.
Remember to turn on the switch.
Note:
If you want to use the claude-3.5-sonnet model in cursor, please add this model name: gpt-3.5-sonnet-cursor
(Because cursor's model API path is matched through regular expressions, the original name would automatically go through the Anthropic path, so we created a claude 3.5 model name disguised as gpt 3.5, making it convenient for you to use the claude model in cursor.)