mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
Remove initial messages from session configuration events (#50360)
## What changed Remove `initial_messages` from `SessionConfiguredEvent` and the corresponding schema. Stop attaching replay history to startup events for resumed or rejoined threads, and remove `InitialHistory::get_event_msgs`. ## Testing Update the MCP resume test to verify persisted tool events through `load_history`, and retain coverage that resumed requests include prior conversation items. GitOrigin-RevId: 54b72bc44423c9b1ef2051891ef392c0ede32fe5
This commit is contained in:
@@ -230,7 +230,6 @@ async fn config_summary_entries_include_runtime_workspace_roots() {
|
||||
active_permission_profile: None,
|
||||
cwd,
|
||||
reasoning_effort: None,
|
||||
initial_messages: None,
|
||||
network_proxy: None,
|
||||
rollout_path: None,
|
||||
};
|
||||
|
||||
@@ -1651,7 +1651,6 @@ fn session_configured_from_thread_response(
|
||||
active_permission_profile,
|
||||
cwd,
|
||||
reasoning_effort,
|
||||
initial_messages: None,
|
||||
network_proxy: None,
|
||||
rollout_path,
|
||||
})
|
||||
|
||||
@@ -124,7 +124,6 @@ fn session_configured_produces_thread_started_event() {
|
||||
active_permission_profile: None,
|
||||
cwd: test_path_buf("/tmp/project").abs(),
|
||||
reasoning_effort: None,
|
||||
initial_messages: None,
|
||||
network_proxy: None,
|
||||
rollout_path: None,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user