Goose Simple Compact UX (#4202)

Co-authored-by: David Katz <dkatz@squareup.com>
This commit is contained in:
Alex Hancock
2025-08-26 18:12:02 -04:00
committed by GitHub
parent a3097f5250
commit a4fc5ec4f1
27 changed files with 2608 additions and 1127 deletions
+3
View File
@@ -347,6 +347,9 @@ pub fn message_to_markdown(message: &Message, export_all_content: bool) -> Strin
md.push_str("**Thinking:**\n");
md.push_str("> *Thinking was redacted*\n\n");
}
MessageContent::SummarizationRequested(summarization) => {
md.push_str(&format!("*{}*\n\n", summarization.msg));
}
_ => {
md.push_str(
"`WARNING: Message content type could not be rendered to Markdown`\n\n",
+3
View File
@@ -185,6 +185,9 @@ pub fn render_message(message: &Message, debug: bool) {
println!("\n{}", style("Thinking:").dim().italic());
print_markdown("Thinking was redacted", theme);
}
MessageContent::SummarizationRequested(summarization) => {
println!("\n{}", style(&summarization.msg).yellow());
}
_ => {
println!("WARNING: Message content type could not be rendered");
}