Goose Simple Compact UX (#4202)
Co-authored-by: David Katz <dkatz@squareup.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user