Use new sonnet models for the cursor agent profiles (#897)
* Updated cursor model from `sonnet-4` to `sonnet-4.5` in [`default_profiles.json`](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/a67d-update-cursor-ag/crates/executors/default_profiles.json#L92-L97), updated available models in [`cursor.json`](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/a67d-update-cursor-ag/shared/schemas/cursor.json#L22) schema, and [`cursor.rs`](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/a67d-update-cursor-ag/crates/executors/src/executors/cursor.rs#L39) documentation. * Added `SONNET_4_5_THINKING` profile to [`default_profiles.json`](file:///private/var/folders/5q/5vgq75y92dz0k7n62z93299r0000gn/T/vibe-kanban/worktrees/a67d-update-cursor-ag/crates/executors/default_profiles.json#L98-L103) for the `sonnet-4.5-thinking` model.
This commit is contained in:
committed by
GitHub
parent
ce3c886ac9
commit
b77abac0c3
@@ -89,10 +89,16 @@
|
||||
"model": "auto"
|
||||
}
|
||||
},
|
||||
"SONNET_4": {
|
||||
"SONNET_4_5": {
|
||||
"CURSOR": {
|
||||
"force": true,
|
||||
"model": "sonnet-4"
|
||||
"model": "sonnet-4.5"
|
||||
}
|
||||
},
|
||||
"SONNET_4_5_THINKING": {
|
||||
"CURSOR": {
|
||||
"force": true,
|
||||
"model": "sonnet-4.5-thinking"
|
||||
}
|
||||
},
|
||||
"OPUS_4_1": {
|
||||
|
||||
@@ -36,7 +36,7 @@ pub struct Cursor {
|
||||
#[schemars(description = "Force allow commands unless explicitly denied")]
|
||||
pub force: Option<bool>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
#[schemars(description = "auto, sonnet-4, gpt-5, opus-4.1, grok")]
|
||||
#[schemars(description = "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok")]
|
||||
pub model: Option<String>,
|
||||
#[serde(flatten)]
|
||||
pub cmd: CmdOverrides,
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
]
|
||||
},
|
||||
"model": {
|
||||
"description": "auto, sonnet-4, gpt-5, opus-4.1, grok",
|
||||
"description": "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
|
||||
Reference in New Issue
Block a user