Add composer-1 as a model for Cursor agent (#1786)

* Add composer-1 as a model for Cursor agent

* fmt

---------

Co-authored-by: Gabriel Gordon-Hall <ggordonhall@gmail.com>
This commit is contained in:
Joshua Saunders
2026-01-06 04:14:52 -07:00
committed by GitHub
parent 0478ce06fc
commit 17afc0cd03
3 changed files with 10 additions and 2 deletions

View File

@@ -153,6 +153,12 @@
"force": true,
"model": "grok"
}
},
"COMPOSER_1": {
"CURSOR_AGENT": {
"force": true,
"model": "composer-1"
}
}
},
"COPILOT": {

View File

@@ -40,7 +40,9 @@ pub struct CursorAgent {
#[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.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok")]
#[schemars(
description = "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok, composer-1"
)]
pub model: Option<String>,
#[serde(flatten)]
pub cmd: CmdOverrides,