From 33b79cccab9d3b0488c0c93b38c6c66ad2372a3d Mon Sep 17 00:00:00 2001 From: marko-kraemer Date: Sat, 26 Apr 2025 00:15:47 +0100 Subject: [PATCH] be --- .env.example | 25 ------------------------- backend/api.py | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 536c62f3..00000000 --- a/.env.example +++ /dev/null @@ -1,25 +0,0 @@ -# LLM API Keys - Replace with your actual keys -ANTHROPIC_API_KEY=your-anthropic-api-key -OPENAI_API_KEY=your-openai-api-key -MODEL_TO_USE=anthropic/claude-3-7-sonnet-latest - -# Optional API Keys - Replace with your actual keys if needed -TAVILY_API_KEY=your-tavily-api-key -RAPID_API_KEY=your-rapid-api-key - -EXA_API_KEY=your-exa-api-key - -# URLs and Public Configuration -NEXT_PUBLIC_URL=http://localhost:3000 -NEXT_PUBLIC_BACKEND_URL=http://localhost:8000/api - -# Redis Configuration (local development) -REDIS_HOST=localhost -REDIS_PORT=6379 -REDIS_PASSWORD= -REDIS_SSL=False - -# Daytona Configuration -DAYTONA_API_KEY=your-daytona-api-key -DAYTONA_SERVER_URL=https://app.daytona.io/api -DAYTONA_TARGET=us \ No newline at end of file diff --git a/backend/api.py b/backend/api.py index 717061cd..49deebc5 100644 --- a/backend/api.py +++ b/backend/api.py @@ -132,7 +132,7 @@ app.include_router(agent_api.router, prefix="/api") # Include the sandbox router with a prefix app.include_router(sandbox_api.router, prefix="/api") -@app.get("/api/") +@app.get("/api/health") async def health_check(): """Health check endpoint to verify API is working.""" logger.info("Health check endpoint called")