Add call to superclass in CustomAgent.__init__ (fixes 733690861b2226728d980389af8d4e17a6d291ee)
Browse files- CustomAgent.py +1 -0
CustomAgent.py
CHANGED
|
@@ -8,6 +8,7 @@ import os
|
|
| 8 |
|
| 9 |
class CustomAgent(BasicAgent):
|
| 10 |
def __init__(self):
|
|
|
|
| 11 |
self._system_prompt = """\
|
| 12 |
You are a general AI assistant. I will ask you a question. Report your thoughts, and finish your answer like so: [YOUR FINAL ANSWER].
|
| 13 |
YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
|
|
|
| 8 |
|
| 9 |
class CustomAgent(BasicAgent):
|
| 10 |
def __init__(self):
|
| 11 |
+
super().__init__()
|
| 12 |
self._system_prompt = """\
|
| 13 |
You are a general AI assistant. I will ask you a question. Report your thoughts, and finish your answer like so: [YOUR FINAL ANSWER].
|
| 14 |
YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|