Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ class AwesomeAgent:
|
|
| 16 |
|
| 17 |
def __init__(self):
|
| 18 |
print("AwesomeAgent initialised.")
|
| 19 |
-
self.agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
|
| 20 |
|
| 21 |
SYSTEM_PROMPT = """
|
| 22 |
You are a precise, domain-agnostic assistant. For every query, perform internal reasoning silently and respond only with a conclusive output using this format:
|
|
|
|
| 16 |
|
| 17 |
def __init__(self):
|
| 18 |
print("AwesomeAgent initialised.")
|
| 19 |
+
self.agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel(model_name="mistralai/Mistral-7B-Instruct-v0.2"))
|
| 20 |
|
| 21 |
SYSTEM_PROMPT = """
|
| 22 |
You are a precise, domain-agnostic assistant. For every query, perform internal reasoning silently and respond only with a conclusive output using this format:
|