Initial planning tool (#1753)

We need to optimize the prompt, but this causes the model to use the new
planning_tool.

<img width="765" height="110" alt="image"
src="https://github.com/user-attachments/assets/45633f7f-3c85-4e60-8b80-902f1b3b508d"
/>
This commit is contained in:
easong-openai
2025-07-31 13:45:52 -07:00
committed by GitHub
parent 5a0ad5ab8f
commit 6ce0a5875b
4 changed files with 110 additions and 1 deletions

View File

@@ -293,6 +293,10 @@ impl ChatWidget<'_> {
self.add_to_history(HistoryCell::new_error_event(message.clone()));
self.bottom_pane.set_task_running(false);
}
EventMsg::PlanUpdate(update) => {
self.add_to_history(HistoryCell::new_plan_update(update));
self.request_redraw();
}
EventMsg::ExecApprovalRequest(ExecApprovalRequestEvent {
call_id: _,
command,