unrelated

This commit is contained in:
Ahmed Ibrahim
2025-12-13 21:07:31 -08:00
parent 98e7b58beb
commit 63e5498e24
+8 -4
View File
@@ -818,11 +818,15 @@ impl Session {
warn!(
"resuming session with different model: previous={prev}, current={curr}"
);
let message = format!(
"This session was recorded with model `{prev}` but is resuming with `{curr}`. \
self.send_event(
&turn_context,
EventMsg::Warning(WarningEvent {
message: format!(
"This session was recorded with model `{prev}` but is resuming with `{curr}`. \
Consider switching back to `{prev}` as it may affect Codex performance."
);
self.send_event(&turn_context, EventMsg::Warning(WarningEvent { message }))
),
}),
)
.await;
}
}