This commit is contained in:
Fahad
2025-06-25 19:37:25 +04:00
parent 6d0bafa81d
commit 3ce0f93e5b
2 changed files with 4 additions and 14 deletions

View File

@@ -45,13 +45,8 @@ class ListModelsTool(BaseTool):
"""Return the JSON schema for the tool's input"""
return {
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model to use (ignored by listmodels tool)"
}
},
"required": []
"properties": {"model": {"type": "string", "description": "Model to use (ignored by listmodels tool)"}},
"required": [],
}
def get_system_prompt(self) -> str:

View File

@@ -149,13 +149,8 @@ class VersionTool(BaseTool):
"""Return the JSON schema for the tool's input"""
return {
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model to use (ignored by version tool)"
}
},
"required": []
"properties": {"model": {"type": "string", "description": "Model to use (ignored by version tool)"}},
"required": [],
}
def get_system_prompt(self) -> str: