Lint
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user