Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
add warning log for unauthorized browser serve request (#4950)
Shuchang Zheng2dd86a5c0b6c
diff --git a/skyvern/cli/core/unified_server.py b/skyvern/cli/core/unified_server.pyindex 46037ebcc..aef37dba7 100644--- a/skyvern/cli/core/unified_server.py+++ b/skyvern/cli/core/unified_server.py@@ -41,6 +41,12 @@ class UnifiedServer:if self.config.api_key:provided_key = request.headers.get("x-api-key")if provided_key != self.config.api_key:+ LOG.warning(+ "Unauthorized request: invalid or missing API key",+ method=request.method,+ path=request.path,+ remote=request.remote,+ )return web.json_response({"error": "Unauthorized", "message": "Invalid or missing x-api-key"},status=401,