feat: refactored and tweaked model descriptions / schema to use fewer tokens at launch (average reduction per field description: 60-80%) without sacrificing tool effectiveness
Disabled secondary tools by default (for new installations), updated README.md with instructions on how to enable these in .env run-server.sh now displays disabled / enabled tools (when DISABLED_TOOLS is set)
This commit is contained in:
@@ -34,9 +34,7 @@ class ListModelsTool(BaseTool):
|
||||
return "listmodels"
|
||||
|
||||
def get_description(self) -> str:
|
||||
return (
|
||||
"Shows which AI model providers are configured, available model names, their aliases and capabilities."
|
||||
)
|
||||
return "Shows which AI model providers are configured, available model names, their aliases and capabilities."
|
||||
|
||||
def get_input_schema(self) -> dict[str, Any]:
|
||||
"""Return the JSON schema for the tool's input"""
|
||||
|
||||
Reference in New Issue
Block a user