Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Fix typo (#549)
Kerem Yilmazc8a1158b4b27
diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.pyindex 84cd3705d..021895b6c 100644--- a/skyvern/forge/sdk/routes/agent_protocol.py+++ b/skyvern/forge/sdk/routes/agent_protocol.py@@ -760,7 +760,7 @@ async def validate_file_size(file: UploadFile) -> UploadFile:except Exception as e:raise HTTPException(status_code=500, detail="Could not determine file size.") from e- if size > app.SETTINGS_MANAGER.MAX_FILE_SIZE:+ if size > app.SETTINGS_MANAGER.MAX_UPLOAD_FILE_SIZE:raise HTTPException(status_code=413,detail=f"File size exceeds the maximum allowed size ({app.SETTINGS_MANAGER.MAX_UPLOAD_FILE_SIZE} bytes)",