mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
change-web-search
This commit is contained in:
@@ -49,10 +49,6 @@ impl ToolRouter {
|
||||
}
|
||||
|
||||
pub fn allowed_tools(&self) -> Vec<serde_json::Value> {
|
||||
// return vector of "tools": [
|
||||
// { "type": "function", "name": "get_weather" },
|
||||
//{ "type": "function", "name": "search_docs" }
|
||||
//]
|
||||
self.specs
|
||||
.iter()
|
||||
.map(|config| {
|
||||
|
||||
Reference in New Issue
Block a user