Debugging
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
47 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
48 |
try:
|
49 |
agent = MyAgent()
|
|
|
50 |
except Exception as e:
|
51 |
print(f"Error instantiating agent: {e}")
|
52 |
return f"Error initializing agent: {e}", None
|
|
|
47 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
48 |
try:
|
49 |
agent = MyAgent()
|
50 |
+
return agent.system_prompt, None
|
51 |
except Exception as e:
|
52 |
print(f"Error instantiating agent: {e}")
|
53 |
return f"Error initializing agent: {e}", None
|