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(model_id=
|
| 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_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud'))
|
| 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:
|