Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix dev commands

Tomas Valenta792b56ff6826
diff --git a/package.json b/package.json
index a0be8aea3..dff7193e2 100644
--- a/package.json
+++ b/package.json
@@ -16,11 +16,12 @@
"scripts": {
"dev:next": "next dev",
"start:next": "next start",
- "dev-otel": "npx concurrently -p none \"next dev\" \"npm run start:api\" \"npm run start:playground\"",
+ "dev-otel": "npx concurrently -p none \"next dev\" \"npm run start:api-otel\" \"npm run start:playground\"",
"dev": "OTEL_SDK_DISABLED=\"true\" npx concurrently -p none \"next dev\" \"npm run start:api\" \"npm run start:playground\"",
"dev:api-service": "npx concurrently \"npm run start:api\" \"npm run start:playground\"",
"build": "next build",
- "start:api": "cd api-service && cross-env PYTHONUNBUFFERED=1 OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint \"ingest.lightstep.com:443\" --traces_exporter console,otlp_proto_grpc --metrics_exporter console,otlp_proto_grpc gunicorn --bind 0.0.0.0:49155 --reload --workers 1 --threads 2 --timeout 120 app:app -k uvicorn.workers.UvicornWorker",
+ "start:api-otel": "cd api-service && cross-env PYTHONUNBUFFERED=1 OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint \"ingest.lightstep.com:443\" --traces_exporter console,otlp_proto_grpc --metrics_exporter console,otlp_proto_grpc gunicorn --bind 0.0.0.0:49155 --workers 1 --threads 2 --timeout 120 app:app -k uvicorn.workers.UvicornWorker",
+ "start:api": "cd api-service && cross-env PYTHONUNBUFFERED=1 poetry run uvicorn app:app --reload --host 0.0.0.0 --port 49155",
"start:playground": "cd api-service/playground && npm run dev",
"install:api-service": "cd api-service && poetry install --with dev --no-root && cd playground && npm install && make install-instrumentation",
"install:api-playground": "cd api-service/playground && npm install",
@@ -112,4 +113,4 @@
"tailwindcss": "^3.3.2",
"typescript": "^4.9.5"
}
-}
+}
\ No newline at end of file