mirror of
https://github.com/openai/codex.git
synced 2026-10-28 16:06:15 +00:00
Handle audio inputs and Bazel unit test arguments (#33929)
## What changed - Exclude remote and local audio inputs from thread-history searchable text. - Add a `unit_test_args` option to `codex_rust_crate` and forward it to the generated unit-test wrapper. GitOrigin-RevId: f0aeb7f811163c3c80aa6f8ef4104650e698347c
This commit is contained in:
@@ -235,6 +235,8 @@ fn searchable_text(item: &ThreadItem) -> Option<Cow<'_, str>> {
|
||||
UserInput::Text { text, .. } => Some(strip_user_message_prefix(text)),
|
||||
UserInput::Image { .. }
|
||||
| UserInput::LocalImage { .. }
|
||||
| UserInput::Audio { .. }
|
||||
| UserInput::LocalAudio { .. }
|
||||
| UserInput::Skill { .. }
|
||||
| UserInput::Mention { .. } => None,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user