feat: add configurable reasoning effort to Coder agents (#26974)

This commit is contained in:
Danielle Maywood
2026-07-09 23:35:12 +01:00
committed by GitHub
parent 5fed583a46
commit d66e4d794f
72 changed files with 4389 additions and 1275 deletions
+12
View File
@@ -16750,6 +16750,9 @@ const docTemplate = `{
"type": "string",
"format": "uuid"
},
"last_reasoning_effort": {
"type": "string"
},
"last_turn_summary": {
"type": "string"
},
@@ -18228,6 +18231,9 @@ const docTemplate = `{
"$ref": "#/definitions/codersdk.ChatPlanMode"
}
]
},
"reasoning_effort": {
"type": "string"
}
}
},
@@ -18287,6 +18293,9 @@ const docTemplate = `{
"plan_mode": {
"$ref": "#/definitions/codersdk.ChatPlanMode"
},
"reasoning_effort": {
"type": "string"
},
"system_prompt": {
"type": "string"
},
@@ -19656,6 +19665,9 @@ const docTemplate = `{
"description": "ModelConfigID, when set, overrides the model used for the\nreplacement user message and the assistant turn that follows.\nWhen nil the original message's model is preserved.",
"type": "string",
"format": "uuid"
},
"reasoning_effort": {
"type": "string"
}
}
},
+12
View File
@@ -15047,6 +15047,9 @@
"type": "string",
"format": "uuid"
},
"last_reasoning_effort": {
"type": "string"
},
"last_turn_summary": {
"type": "string"
},
@@ -16464,6 +16467,9 @@
"$ref": "#/definitions/codersdk.ChatPlanMode"
}
]
},
"reasoning_effort": {
"type": "string"
}
}
},
@@ -16523,6 +16529,9 @@
"plan_mode": {
"$ref": "#/definitions/codersdk.ChatPlanMode"
},
"reasoning_effort": {
"type": "string"
},
"system_prompt": {
"type": "string"
},
@@ -17842,6 +17851,9 @@
"description": "ModelConfigID, when set, overrides the model used for the\nreplacement user message and the assistant turn that follows.\nWhen nil the original message's model is preserved.",
"type": "string",
"format": "uuid"
},
"reasoning_effort": {
"type": "string"
}
}
},