mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
Add text element metadata to types (#9235)
Initial type tweaking PR to make the diff of https://github.com/openai/codex/pull/9116 smaller This should not change any behavior, just adds some fields to types
This commit is contained in:
@@ -184,7 +184,11 @@ impl AppServerClient {
|
||||
request_id: request_id.clone(),
|
||||
params: TurnStartParams {
|
||||
thread_id: thread_id.to_string(),
|
||||
input: vec![UserInput::Text { text }],
|
||||
input: vec![UserInput::Text {
|
||||
text,
|
||||
// Plain text conversion has no UI element ranges.
|
||||
text_elements: Vec::new(),
|
||||
}],
|
||||
..Default::default()
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user