style: applied improved styling to the whole of the hooks integration
This commit is contained in:
17 files changed
+92
-176
No files matched your search
@@ -1695,11 +1695,6 @@ fn print_turn_divider() {
|
||||
println!();
|
||||
}
|
||||
|
||||
/// Auto-compression seam for the ask loop: `session.compressed` fires only
|
||||
/// when compression actually succeeded. A failed auto-compression is
|
||||
/// survivable mid-session, so the error is logged and swallowed rather
|
||||
/// than aborting the turn — unlike `.compress session`, which surfaces
|
||||
/// the failure to the user.
|
||||
async fn auto_compress_session(ctx: &mut RequestContext) {
|
||||
match ctx.compress_session().await {
|
||||
Ok(()) => hooks::fire(HookEvent::SessionCompressed, ctx, &[], None),
|
||||
|
||||
Reference in new issue
Block a user