feat: agent node

This commit is contained in:
2026-03-11 14:39:38 +01:00
parent 94da42f9fc
commit f201fe92f4
15 changed files with 772 additions and 24 deletions

14
backend/.env.example Normal file
View File

@@ -0,0 +1,14 @@
# Optional: backend env vars. Copy to .env and adjust.
# --- Agent (AI) ---
# For OpenAI: set your key (model defaults to gpt-4o-mini).
# OPENAI_API_KEY=sk-...
# For local LLM (LM Studio, Ollama, etc.): set base URL. No API key required.
# AI_BASE_URL=http://localhost:1234/v1
# Optional: model name (LM Studio shows the loaded model id).
# AI_MODEL=local-model
# --- Server ---
# PORT=8080
# CORS_ORIGIN=http://localhost:3000