diff --git a/playground/agents/tool_agent.py b/playground/agents/tool_agent.py index 3cd93fbd..71d10bb8 100644 --- a/playground/agents/tool_agent.py +++ b/playground/agents/tool_agent.py @@ -26,7 +26,11 @@ task = ( # Create an instance of the ToolAgent class agent = ToolAgent( - name="dolly-function-agent", description="Ana gent to create a child data", model=model, tokenizer=tokenizer, json_schema=json_schema + name="dolly-function-agent", + description="Ana gent to create a child data", + model=model, + tokenizer=tokenizer, + json_schema=json_schema, ) # Run the agent to generate the person's information diff --git a/swarms/agents/tool_agent.py b/swarms/agents/tool_agent.py index f6d9f6e8..8e6adf9d 100644 --- a/swarms/agents/tool_agent.py +++ b/swarms/agents/tool_agent.py @@ -61,8 +61,8 @@ class ToolAgent(AbstractLLM): def __init__( self, - name: str = None, - description: str = None, + name: str = "Function Calling Agent", + description: str = "Generates a function based on the input json schema and the task", model: Any = None, tokenizer: Any = None, json_schema: Any = None,