Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -115,7 +115,7 @@ def arvix_search(query: str) -> str:
|
|
| 115 |
|
| 116 |
# load the system prompt from the file
|
| 117 |
with open("system_prompt.txt", "r", encoding="utf-8") as f:
|
| 118 |
-
|
| 119 |
|
| 120 |
# System message
|
| 121 |
sys_msg = SystemMessage(content=system_prompt)
|
|
|
|
| 115 |
|
| 116 |
# load the system prompt from the file
|
| 117 |
with open("system_prompt.txt", "r", encoding="utf-8") as f:
|
| 118 |
+
system_prompt = f.read()
|
| 119 |
|
| 120 |
# System message
|
| 121 |
sys_msg = SystemMessage(content=system_prompt)
|