- api: /chat route runs runAgent (session-required, 503 when unconfigured) - api: index.ts builds OpenRouterLlmClient + WpRestExecutor from env; loads .env - web: useChat calls /chat with mock fallback; proxy /chat+/sites+/health - .env.example: DATABASE_URL empty by default (in-memory dev) - 111 unit tests green; smoke-tested signup+chat
This commit is contained in:
+3
-1
@@ -2,7 +2,9 @@
|
||||
|
||||
# API
|
||||
PORT=3000
|
||||
DATABASE_URL=postgres://wursor:wursor@localhost:5432/wursor
|
||||
# Set DATABASE_URL only when Postgres is running (see infrastructure/DEVOPS.md).
|
||||
# Leave empty for the in-memory dev store.
|
||||
DATABASE_URL=
|
||||
REDIS_URL=redis://localhost:6379
|
||||
|
||||
# Auth
|
||||
|
||||
Reference in New Issue
Block a user