Type check
Browse files
src/reachy_mini_conversation_app/tools.py
CHANGED
|
@@ -486,7 +486,7 @@ ALL_TOOL_SPECS = [tool.spec() for tool in ALL_TOOLS.values()]
|
|
| 486 |
print("ALL_TOOLS:", ALL_TOOLS.keys())
|
| 487 |
|
| 488 |
|
| 489 |
-
def get_tool_specs(exclusion_list = []) -> list[Dict[str, Any]]:
|
| 490 |
"""Get tool specs, optionally excluding some tools."""
|
| 491 |
return [spec for spec in ALL_TOOL_SPECS if spec.get("name") not in exclusion_list]
|
| 492 |
|
|
|
|
| 486 |
print("ALL_TOOLS:", ALL_TOOLS.keys())
|
| 487 |
|
| 488 |
|
| 489 |
+
def get_tool_specs(exclusion_list : list[str] = []) -> list[Dict[str, Any]]:
|
| 490 |
"""Get tool specs, optionally excluding some tools."""
|
| 491 |
return [spec for spec in ALL_TOOL_SPECS if spec.get("name") not in exclusion_list]
|
| 492 |
|