Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -43,7 +43,11 @@ class ListModelsTool(BaseTool):
|
||||
|
||||
def get_input_schema(self) -> dict[str, Any]:
|
||||
"""Return the JSON schema for the tool's input"""
|
||||
return {"type": "object", "properties": {}, "required": []}
|
||||
return {
|
||||
"type": "object",
|
||||
"properties": {"model": {"type": "string", "description": "Model to use (ignored by listmodels tool)"}},
|
||||
"required": [],
|
||||
}
|
||||
|
||||
def get_annotations(self) -> Optional[dict[str, Any]]:
|
||||
"""Return tool annotations indicating this is a read-only tool"""
|
||||
|
||||
@@ -147,7 +147,11 @@ class VersionTool(BaseTool):
|
||||
|
||||
def get_input_schema(self) -> dict[str, Any]:
|
||||
"""Return the JSON schema for the tool's input"""
|
||||
return {"type": "object", "properties": {}, "required": []}
|
||||
return {
|
||||
"type": "object",
|
||||
"properties": {"model": {"type": "string", "description": "Model to use (ignored by version tool)"}},
|
||||
"required": [],
|
||||
}
|
||||
|
||||
def get_annotations(self) -> Optional[dict[str, Any]]:
|
||||
"""Return tool annotations indicating this is a read-only tool"""
|
||||
|
||||
Reference in New Issue
Block a user