fix: slim down token usage
This commit is contained in:
@@ -18,6 +18,7 @@ pub fn advance(
|
||||
let standards_md = toon::read_markdown(&config.standards_file)?;
|
||||
|
||||
state.phase = ControllerPhase::Planning;
|
||||
state.clear_stop_reason();
|
||||
state.planning_session.transcript.push(PlanningTurn {
|
||||
role: "user".to_string(),
|
||||
content: latest_user_input.to_string(),
|
||||
@@ -62,6 +63,7 @@ pub fn advance(
|
||||
toon::write_plan(&config.plan_file, &plan)?;
|
||||
|
||||
state.phase = ControllerPhase::Executing;
|
||||
state.clear_stop_reason();
|
||||
state.goal_revision += 1;
|
||||
state.goal_status = crate::model::GoalStatus::InProgress;
|
||||
state.replan_required = false;
|
||||
|
||||
Reference in New Issue
Block a user