show thinking in transcript (#2538)
record the full reasoning trace and show it in transcript mode
This commit is contained in:
@@ -140,10 +140,17 @@ impl App {
|
||||
|
||||
fn handle_event(&mut self, tui: &mut tui::Tui, event: AppEvent) -> Result<bool> {
|
||||
match event {
|
||||
AppEvent::InsertHistory(lines) => {
|
||||
AppEvent::InsertHistoryLines(lines) => {
|
||||
self.transcript_lines.extend(lines.clone());
|
||||
tui.insert_history_lines(lines);
|
||||
}
|
||||
AppEvent::InsertHistoryCell(cell) => {
|
||||
self.transcript_lines.extend(cell.transcript_lines());
|
||||
let display = cell.display_lines();
|
||||
if !display.is_empty() {
|
||||
tui.insert_history_lines(display);
|
||||
}
|
||||
}
|
||||
AppEvent::StartCommitAnimation => {
|
||||
if self
|
||||
.commit_anim_running
|
||||
|
||||
Reference in New Issue
Block a user