Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,9 @@ from prompts.prompts import load_prompts
|
|
| 19 |
def initialize_agent(endpoint_uri: str):
|
| 20 |
|
| 21 |
system_pt = load_prompts()
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
combined_tools = load_tools() ## from the tools folder (don't remove final answer)
|
| 24 |
|
|
@@ -41,8 +44,6 @@ def initialize_agent(endpoint_uri: str):
|
|
| 41 |
additional_authorized_imports=["pytz"],
|
| 42 |
stream_outputs=True
|
| 43 |
)
|
| 44 |
-
|
| 45 |
-
#print_default_prompt_templates( agent )
|
| 46 |
|
| 47 |
return agent
|
| 48 |
|
|
|
|
| 19 |
def initialize_agent(endpoint_uri: str):
|
| 20 |
|
| 21 |
system_pt = load_prompts()
|
| 22 |
+
print("system prompts")
|
| 23 |
+
print(system_pt)
|
| 24 |
+
|
| 25 |
|
| 26 |
combined_tools = load_tools() ## from the tools folder (don't remove final answer)
|
| 27 |
|
|
|
|
| 44 |
additional_authorized_imports=["pytz"],
|
| 45 |
stream_outputs=True
|
| 46 |
)
|
|
|
|
|
|
|
| 47 |
|
| 48 |
return agent
|
| 49 |
|