mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 07:13:00 +00:00
style: ruff format generate_tool_specs.py
This commit is contained in:
@@ -181,8 +181,7 @@ class ToolSpecExtractor:
|
|||||||
}
|
}
|
||||||
if "required" in json_schema:
|
if "required" in json_schema:
|
||||||
json_schema["required"] = [
|
json_schema["required"] = [
|
||||||
key for key in json_schema["required"]
|
key for key in json_schema["required"] if key not in ignored_init_params
|
||||||
if key not in ignored_init_params
|
|
||||||
]
|
]
|
||||||
return json_schema
|
return json_schema
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user