Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Implement upload_file endpoint (#550)
Kerem Yilmaz80c7c43bd6bb
diff --git a/skyvern/forge/sdk/routes/agent_protocol.py b/skyvern/forge/sdk/routes/agent_protocol.pyindex 021895b6c..427bddda4 100644--- a/skyvern/forge/sdk/routes/agent_protocol.py+++ b/skyvern/forge/sdk/routes/agent_protocol.py@@ -763,7 +763,7 @@ async def validate_file_size(file: UploadFile) -> UploadFile: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)",+ detail=f"File size exceeds the maximum allowed size ({app.SETTINGS_MANAGER.MAX_UPLOAD_FILE_SIZE/1024/1024} MB)",)return file