fix logging assistant messages

This commit is contained in:
Kent Overstreet 2026-04-06 23:04:08 -04:00
parent dcf9dadb1c
commit 98a1ae74d7
2 changed files with 14 additions and 4 deletions

View file

@ -41,6 +41,8 @@ impl ConversationLog {
.context("serializing entry for log")?;
writeln!(file, "{}", line)
.context("writing to conversation log")?;
file.sync_all()
.context("syncing conversation log")?;
Ok(())
}