mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
[codex] wire native integrity state surfaces [ci changed_files]
This commit is contained in:
@@ -307,6 +307,21 @@ impl AgentControl {
|
||||
{
|
||||
let client_metadata = match state.get_thread(*parent_thread_id).await {
|
||||
Ok(parent_thread) => {
|
||||
if let Some(surface) = parent_thread
|
||||
.codex
|
||||
.session
|
||||
.services
|
||||
.model_client
|
||||
.native_integrity_surface()
|
||||
{
|
||||
new_thread
|
||||
.thread
|
||||
.codex
|
||||
.session
|
||||
.services
|
||||
.model_client
|
||||
.set_native_integrity_surface(surface);
|
||||
}
|
||||
parent_thread
|
||||
.codex
|
||||
.session
|
||||
|
||||
Reference in New Issue
Block a user