Spaces:
Sleeping
Sleeping
apple muncy
commited on
Commit
·
2022d08
1
Parent(s):
3c01f3a
remove final_answer tool
Browse filesSigned-off-by: apple muncy <[email protected]>
- app.py +1 -1
- prompts.yaml +3 -3
app.py
CHANGED
@@ -103,7 +103,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
103 |
|
104 |
agent = CodeAgent(
|
105 |
model=model,
|
106 |
-
tools=[call_grok_api,
|
107 |
max_steps=6,
|
108 |
verbosity_level=1,
|
109 |
grammar=None,
|
|
|
103 |
|
104 |
agent = CodeAgent(
|
105 |
model=model,
|
106 |
+
tools=[call_grok_api, visit_webpage ], ## add your tools here (don't remove final answer)
|
107 |
max_steps=6,
|
108 |
verbosity_level=1,
|
109 |
grammar=None,
|
prompts.yaml
CHANGED
@@ -316,9 +316,9 @@
|
|
316 |
|
317 |
Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
|
318 |
And even if your task resolution is not successful, please return as much context as possible, so that your manager can act upon this feedback.
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
|
323 |
"final_answer":
|
324 |
"template": |-
|
|
|
316 |
|
317 |
Put all these in your final_answer tool, everything that you do not pass as an argument to final_answer will be lost.
|
318 |
And even if your task resolution is not successful, please return as much context as possible, so that your manager can act upon this feedback.
|
319 |
+
"report": |-
|
320 |
+
Here is the final answer from your managed agent '{{name}}':
|
321 |
+
{{final_answer}}
|
322 |
|
323 |
"final_answer":
|
324 |
"template": |-
|