mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
test(core): build compact expectations after refresh
This commit is contained in:
@@ -12,7 +12,6 @@ async fn process_compacted_history_with_test_session(
|
||||
session
|
||||
.set_previous_turn_settings(previous_turn_settings.cloned())
|
||||
.await;
|
||||
let initial_context = session.build_initial_context(&turn_context).await;
|
||||
let refreshed = crate::compact_remote::process_compacted_history(
|
||||
&session,
|
||||
&turn_context,
|
||||
@@ -20,6 +19,7 @@ async fn process_compacted_history_with_test_session(
|
||||
InitialContextInjection::BeforeLastUserMessage,
|
||||
)
|
||||
.await;
|
||||
let initial_context = session.build_initial_context(&turn_context).await;
|
||||
(refreshed, initial_context)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user