Lint
This commit is contained in:
@@ -45,13 +45,8 @@ class ListModelsTool(BaseTool):
|
|||||||
"""Return the JSON schema for the tool's input"""
|
"""Return the JSON schema for the tool's input"""
|
||||||
return {
|
return {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {"model": {"type": "string", "description": "Model to use (ignored by listmodels tool)"}},
|
||||||
"model": {
|
"required": [],
|
||||||
"type": "string",
|
|
||||||
"description": "Model to use (ignored by listmodels tool)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": []
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_system_prompt(self) -> str:
|
def get_system_prompt(self) -> str:
|
||||||
|
|||||||
@@ -149,13 +149,8 @@ class VersionTool(BaseTool):
|
|||||||
"""Return the JSON schema for the tool's input"""
|
"""Return the JSON schema for the tool's input"""
|
||||||
return {
|
return {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {"model": {"type": "string", "description": "Model to use (ignored by version tool)"}},
|
||||||
"model": {
|
"required": [],
|
||||||
"type": "string",
|
|
||||||
"description": "Model to use (ignored by version tool)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": []
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_system_prompt(self) -> str:
|
def get_system_prompt(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user