session: format exec events with code fences

This commit is contained in:
Levi Neely 2026-05-20 16:49:44 +02:00
parent afb531c936
commit e101db2079
1 changed files with 2 additions and 0 deletions

View File

@ -757,6 +757,8 @@ func FormatEvent(ev agent.Event) []byte {
return []byte("agent stalled\n")
case "reasoning":
return []byte(ev.Content)
case "exec":
return []byte("```\n" + ev.Content + "\n```\n")
case "info":
return []byte(":: " + ev.Content)
default: