agent: Add "max mode" toggle (#29549)

This PR adds a "max mode" toggle to the Agent panel, for models that
support it.

Only visible to folks in the `new-billing` feature flag.

Icon is just a placeholder.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-04-28 16:50:47 +00:00
committed by GitHub
parent e3c987e2fb
commit ce93961fe0
14 changed files with 87 additions and 1 deletions
+1
View File
@@ -1293,6 +1293,7 @@ impl ActiveThread {
let request = language_model::LanguageModelRequest {
thread_id: None,
prompt_id: None,
mode: None,
messages: vec![request_message],
tools: vec![],
stop: vec![],