Commit
·
47b506c
1
Parent(s):
f72ff7c
Fixed agent.py
Browse files- agents/agent.py +2 -1
agents/agent.py
CHANGED
@@ -121,7 +121,8 @@ def arvix_search(query: str) -> str:
|
|
121 |
|
122 |
|
123 |
# load the system prompt from the file
|
124 |
-
|
|
|
125 |
system_prompt = f.read()
|
126 |
|
127 |
# System message
|
|
|
121 |
|
122 |
|
123 |
# load the system prompt from the file
|
124 |
+
prompt_path = os.path.join(os.path.dirname(__file__), "../prompts")
|
125 |
+
with open(os.path.join(prompt_path, "system_prompt.txt"), "r", encoding="utf-8") as f:
|
126 |
system_prompt = f.read()
|
127 |
|
128 |
# System message
|