Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix json parse error
Tomas Valenta514efe37d265
diff --git a/api-service/app.py b/api-service/app.pyindex b8d60708a..00f83fa22 100644--- a/api-service/app.py+++ b/api-service/app.py@@ -80,7 +80,7 @@ def generate():url = playground.deploy(project_id, envs)db.finish_deployment(run_id=run_id, url=url)- return "", 204+ return {}except:db.update_state(run_id=run_id, state=DeploymentState.Error)raise