feat(#1597): persist + apply per-agent claude effort override
This commit is contained in:
parent
d7bba48176
commit
ec343046ea
3 changed files with 166 additions and 1 deletions
|
|
@ -649,6 +649,7 @@ async fn run_claude(prompt: &str, files: &TurnFiles, bus: &Bus) -> Result<(bool,
|
|||
// failure notification to the manager) instead of just "exit 1".
|
||||
const STDERR_TAIL_LINES: usize = 20;
|
||||
let model = bus.model();
|
||||
let effort = bus.effort();
|
||||
let resume = !bus.take_skip_continue();
|
||||
if !resume {
|
||||
bus.emit(LiveEvent::Note {
|
||||
|
|
@ -670,6 +671,8 @@ async fn run_claude(prompt: &str, files: &TurnFiles, bus: &Bus) -> Result<(bool,
|
|||
.arg("stream-json")
|
||||
.arg("--model")
|
||||
.arg(&model)
|
||||
.arg("--effort")
|
||||
.arg(&effort)
|
||||
.arg("--settings")
|
||||
.arg(&files.settings);
|
||||
if resume {
|
||||
|
|
|
|||
Loading…
Reference in a new issue