mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
unrelated
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user