Merge branch 'BeehiveInnovations:main' into feat-dockerisation

This commit is contained in:
OhMyApps
2025-06-27 18:45:41 +02:00
committed by GitHub
19 changed files with 258 additions and 223 deletions

View File

@@ -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 ""