mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Remove unused Rust helpers (#34345)
## What changed - Remove unused APIs and test helpers across the Rust workspace. - Route Linux sandbox test setup through the shared exec request path. - Drop dependencies that became unnecessary after the cleanup. GitOrigin-RevId: 48fd9b2b1575bad7add0819786b4d8ec88d8486f
This commit is contained in:
1 parent
86102db5a1
commit
221a341029
39 files changed
+29
-725
No files matched your search
@@ -28,12 +28,3 @@ pub fn web_search_action_detail(action: &WebSearchAction) -> String {
|
||||
WebSearchAction::Other => String::new(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn web_search_detail(action: Option<&WebSearchAction>, query: &str) -> String {
|
||||
let detail = action.map(web_search_action_detail).unwrap_or_default();
|
||||
if detail.is_empty() {
|
||||
query.to_string()
|
||||
} else {
|
||||
detail
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user