Add fast mode toggle in agent panel (#49714)

This is a staff only toggle for now, since the consequences of
activating it are not obvious and quite dire (tokens costs 6 times
more).

Also, persist thinking, thinking effort and fast mode in DbThread so the
thinking mode toggle and thinking effort are persisted.

Release Notes:

- Agent: The thinking mode toggle and thinking effort are now persisted
when selecting a thread from history.
This commit is contained in:
Tom Houlé authored and GitHub committed 2026-02-26 21:19:41 +01:00
1 parent d858f5236f
commit 6a749380aa
29 files changed
+190 -16

No files matched your search

+2
View File
@@ -547,6 +547,7 @@ impl CodegenAlternative {
messages,
thinking_allowed: false,
thinking_effort: None,
speed: None,
}
}))
}
@@ -626,6 +627,7 @@ impl CodegenAlternative {
messages: vec![request_message],
thinking_allowed: false,
thinking_effort: None,
speed: None,
}
}))
}