Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ def my_custom_tool(arg1:str, arg2:str)-> str:
|
|
| 131 |
agent.quit()
|
| 132 |
|
| 133 |
# Example of how you might call this tool (if not directly invoked by an agent framework)
|
| 134 |
-
|
| 135 |
# # This part would typically be handled by your LangChain agent's invocation
|
| 136 |
# # For standalone testing:
|
| 137 |
# # Make sure you have the environment variables set for USERNAME and PASSWORD
|
|
|
|
| 131 |
agent.quit()
|
| 132 |
|
| 133 |
# Example of how you might call this tool (if not directly invoked by an agent framework)
|
| 134 |
+
if __name__ == "__main__":
|
| 135 |
# # This part would typically be handled by your LangChain agent's invocation
|
| 136 |
# # For standalone testing:
|
| 137 |
# # Make sure you have the environment variables set for USERNAME and PASSWORD
|