Where does the bug appear (feature/product)?
Cursor SDK
Describe the Bug
Invocations using @cursor/sdk (reproduced on v1.0.38 and v1.2.0) consistently fail after ~20 seconds whenever model “default” or “auto” is requested, returning:
“Provider Error: We’re having trouble finding the resource you requested. If the problem persists, please contact support.”
Explicit models (composer-2.5, claude-sonnet-4-5, claude-opus-5-5) work without issue on the same account and SDK. Additionally, the cursor-agent CLI succeeds when using --model auto. The failure occurs specifically on the backend when @cursor/sdk passes model ID “default” or “auto” for this account.
Steps to Reproduce
const { Agent, Cursor } = require("@cursor/sdk");
// 1. Cursor.models.list() returns { id: "default", displayName: "Auto", aliases: ["auto"] }
// 2. Run an agent with model "default" or "auto":
const agent = await Agent.create({
apiKey: process.env.CURSOR_API_KEY,
model: { id: "default" }, // also fails with { id: "auto" }
mode: "agent"
});
const res = await (await agent.send("ping")).wait();
// Fails after ~20.9s with:
// "Provider Error We're having trouble finding the resource you requested..."
Expected Behavior
@cursor/sdk should successfully resolve model “default” / “auto” to an active model (matching the behavior of the cursor-agent CLI) and return status “finished” instead of timing out with a 404/resource not found provider error.
Operating System
MacOS
Version Information
@cursor/sdk: 1.2.0 (and 1.0.38)
cursor-agent CLI: 2026.10.22-27dcf5f
Platform: macOS Darwin arm64
For AI issues: which model did you use?
Auto / default (model: { id: “default” } or { id: “auto” })
For AI issues: add Request ID with privacy disabled
55db94e9-b5b3-43f8-843c-301dc521f237, 2874f5c5-705c-4a21-b79d-ce726132e2ab, 012e4ac0-779f-4908-a522-bb8baaab38ee, 0c472eb3-1abc-4801-b890-fa8a14161cf9
Additional Information
Associated Run IDs from client logs:
- run-f447a880-b203-4610-a02d-17f7444c4347 (Request ID: 55db94e9-b5b3-43f8-843c-301dc521f237)
- run-e480074a-a725-4581-9eda-eb338899069b (Request ID: 2874f5c5-705c-4a21-b79d-ce726132e2ab)
- run-1d372940-2118-419f-9bd8-cf49f4821abd (Request ID: 012e4ac0-779f-4908-a522-bb8baaab38ee)
Tested across multiple SDK environments. Explicit models (e.g. composer-2.5) respond in ~2s with status “finished”, confirming credentials and quota are healthy.
Does this stop you from using Cursor
No - Cursor works, but with this issue