style: cargo fmt drift

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cameron
2026-04-23 17:19:59 -04:00
parent aa651d1c7b
commit d54419e779
2 changed files with 6 additions and 3 deletions

View File

@@ -18,8 +18,7 @@ use crate::otel::global_tracer;
pub const DAILY_SUMMARY_MESSAGE_LIMIT: usize = 300;
/// System prompt used when generating daily conversation summaries.
pub const DAILY_SUMMARY_SYSTEM_PROMPT: &str =
"You are a conversation summarizer. Create clear, factual summaries with \
pub const DAILY_SUMMARY_SYSTEM_PROMPT: &str = "You are a conversation summarizer. Create clear, factual summaries with \
precise subject attribution AND extract distinctive keywords. Focus on \
specific, unique terms that differentiate this conversation from others.";

View File

@@ -202,7 +202,11 @@ async fn main() -> Result<()> {
let user_name = user_display_name();
println!("\nMessage preview:");
for (i, msg) in messages.iter().take(3).enumerate() {
let sender: &str = if msg.is_sent { &user_name } else { &msg.contact };
let sender: &str = if msg.is_sent {
&user_name
} else {
&msg.contact
};
let preview = msg.body.chars().take(60).collect::<String>();
println!(" {}. {}: {}...", i + 1, sender, preview);
}