mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
Fix config clippy lint
This commit is contained in:
@@ -670,7 +670,7 @@ where
|
||||
let value = match value.clone().try_into::<WebSearchToolConfigInput>() {
|
||||
Ok(value) => value,
|
||||
Err(err) => {
|
||||
let mut without_context_size = value.clone();
|
||||
let mut without_context_size = value;
|
||||
let removed_context_size = without_context_size
|
||||
.as_table_mut()
|
||||
.and_then(|table| table.remove("context_size"))
|
||||
|
||||
Reference in New Issue
Block a user