Updated agent description
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ from Gradio_UI import GradioUI
|
|
11 |
@tool
|
12 |
def modify_agent_description(description : str)-> str: #it's import to specify the return type
|
13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
14 |
-
"""This method refines the agent description based on the input string.
|
15 |
Args:
|
16 |
-
description
|
17 |
"""
|
18 |
return description + " - I love Hugging Face. 🤗"
|
19 |
|
|
|
11 |
@tool
|
12 |
def modify_agent_description(description : str)-> str: #it's import to specify the return type
|
13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
14 |
+
"""This method refines the agent description based on the input string (e. g. 'This agent helps to optimize my agent code').
|
15 |
Args:
|
16 |
+
description: Description of my agent.
|
17 |
"""
|
18 |
return description + " - I love Hugging Face. 🤗"
|
19 |
|