Agent Zero AI framework
feat(api): handle tunnel provider in tunnel api
linuztx52d6522989d7
diff --git a/python/api/tunnel.py b/python/api/tunnel.pyindex 62f95f2f0..8279330f1 100644--- a/python/api/tunnel.py+++ b/python/api/tunnel.py@@ -14,7 +14,8 @@ class Tunnel(ApiHandler):if action == "create":port = runtime.get_web_ui_port()- tunnel_url = tunnel_manager.start_tunnel(port)+ provider = input.get("provider", "serveo") # Default to serveo+ tunnel_url = tunnel_manager.start_tunnel(port, provider)if tunnel_url is None:# Add a little delay and check again - tunnel might be startingimport time