mirror of
https://github.com/openai/codex.git
synced 2026-11-14 06:48:26 +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:
1 parent
2a68b74b9b
commit
4a9c2bcc5a
62 files changed
+483
-41
No files matched your search
@@ -324,7 +324,7 @@ impl OtelManager {
|
||||
let prompt = items
|
||||
.iter()
|
||||
.flat_map(|item| match item {
|
||||
UserInput::Text { text } => Some(text.as_str()),
|
||||
UserInput::Text { text, .. } => Some(text.as_str()),
|
||||
_ => None,
|
||||
})
|
||||
.collect::<String>();
|
||||
|
||||
Reference in new issue
Block a user