Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Change supabase key env var
Tomas Valenta2b0b81698edd
diff --git a/api-service/app.py b/api-service/app.pyindex aada94dcd..4e4156937 100644--- a/api-service/app.py+++ b/api-service/app.py@@ -15,7 +15,7 @@ from database import Database, DeploymentStateload_dotenv()url = os.environ.get("SUPABASE_URL")-key = os.environ.get("SUPABASE_KEY")+key = os.environ.get("SUPABASE_SECRET_KEY")db = Database(url, key)app = Quart(__name__)diff --git a/api-service/start.sh b/api-service/start.shindex c4cc8caf2..4f69f6206 100755--- a/api-service/start.sh+++ b/api-service/start.sh@@ -1,7 +1,7 @@#!/bin/bash# Start playground api-cd /playground && node lib/server.js &+cd /playground && exec node lib/server.js &# Start python app# TODO: Start the server on the $PORT port instead of the fixed port.