mirror of
https://github.com/openai/codex.git
synced 2026-11-25 07:23:22 +00:00
chore(config) rm tools.view_image (#22501)
## Summary It appears this config flag has been broken/a noop for quite some time: since https://github.com/openai/codex/pull/8850. Let's simplify and get rid of this. ## Testing - [x] Updated unit tests
This commit is contained in:
1 parent
d18a7c982e
commit
9c691b74d6
11 files changed
+3
-60
No files matched your search
@@ -376,13 +376,7 @@ web_search = true
|
||||
)
|
||||
.expect("TOML deserialization should succeed");
|
||||
|
||||
assert_eq!(
|
||||
cfg.tools,
|
||||
Some(ToolsToml {
|
||||
web_search: None,
|
||||
view_image: None,
|
||||
})
|
||||
);
|
||||
assert_eq!(cfg.tools, Some(ToolsToml { web_search: None }));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -395,13 +389,7 @@ web_search = false
|
||||
)
|
||||
.expect("TOML deserialization should succeed");
|
||||
|
||||
assert_eq!(
|
||||
cfg.tools,
|
||||
Some(ToolsToml {
|
||||
web_search: None,
|
||||
view_image: None,
|
||||
})
|
||||
);
|
||||
assert_eq!(cfg.tools, Some(ToolsToml { web_search: None }));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user