Merge branch 'BeehiveInnovations:main' into feat-dockerisation
This commit is contained in:
@@ -49,6 +49,10 @@ class ListModelsTool(BaseTool):
|
||||
"required": [],
|
||||
}
|
||||
|
||||
def get_annotations(self) -> Optional[dict[str, Any]]:
|
||||
"""Return tool annotations indicating this is a read-only tool"""
|
||||
return {"readOnlyHint": True}
|
||||
|
||||
def get_system_prompt(self) -> str:
|
||||
"""No AI model needed for this tool"""
|
||||
return ""
|
||||
@@ -57,6 +61,9 @@ class ListModelsTool(BaseTool):
|
||||
"""Return the Pydantic model for request validation."""
|
||||
return ToolRequest
|
||||
|
||||
def requires_model(self) -> bool:
|
||||
return False
|
||||
|
||||
async def prepare_prompt(self, request: ToolRequest) -> str:
|
||||
"""Not used for this utility tool"""
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user