Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix enum value serialization
Tomas Valenta6b7639a314af
diff --git a/api-service/codegen/db/base.py b/api-service/codegen/db/base.pyindex 792c812f6..1c730bbd6 100644--- a/api-service/codegen/db/base.py+++ b/api-service/codegen/db/base.py@@ -20,7 +20,7 @@ class Database():'logs': logs,'project_id': project_id,'route_id': route_id,- 'state': DeploymentState.Generating,+ 'state': DeploymentState.Generating.value,},).execute()@@ -28,6 +28,6 @@ class Database():self.client.table('deployments').update(json={'id': run_id,- 'state': state,+ 'state': state.value,},).execute()