Spaces:
Sleeping
Sleeping
pragneshbarik
commited on
Commit
•
c54ec59
1
Parent(s):
e5d9c7e
added error logs
Browse files- middlewares/utils.py +3 -1
middlewares/utils.py
CHANGED
@@ -167,7 +167,7 @@ def gen_augmented_prompt_via_websearch(
|
|
167 |
|
168 |
augmented_prompt = f"""
|
169 |
|
170 |
-
{pre_context}
|
171 |
|
172 |
{context}
|
173 |
|
@@ -185,4 +185,6 @@ def gen_augmented_prompt_via_websearch(
|
|
185 |
{prev_output}
|
186 |
|
187 |
"""
|
|
|
|
|
188 |
return augmented_prompt, links
|
|
|
167 |
|
168 |
augmented_prompt = f"""
|
169 |
|
170 |
+
{pre_context}
|
171 |
|
172 |
{context}
|
173 |
|
|
|
185 |
{prev_output}
|
186 |
|
187 |
"""
|
188 |
+
|
189 |
+
print(augmented_prompt)
|
190 |
return augmented_prompt, links
|