feat: database layer + canvas validator/converter + LLM inference activities
ci / test (push) Failing after 2m11s

- Add pkg/db models and CRUD methods for workflows
- Add internal/routing canvas validator (DAG check, connectivity)
- Add internal/routing canvas converter (Canvas → WorkflowSpec)
- Register LLMInferenceActivity and LLMBatchInferenceActivity
- Update api/server and cmd/server with database integration
- Add K8s environment variable support
- Update activity knowledge base with LLM activities
- Add .env.example configuration template
This commit is contained in:
Test
2026-09-05 00:43:30 -07:00
parent 924aa398b6
commit 0da90fdd7a
13 changed files with 2183 additions and 7 deletions
+22
View File
@@ -0,0 +1,22 @@
# Workflows Backend Configuration
# Database (memory-db CNPG in K8s)
# Option A: Direct DATABASE_URL
DATABASE_URL=postgresql://app:[email protected]:5432/memory?sslmode=disable
# Option B: Individual env vars (used if DATABASE_URL is empty)
DATABASE_HOST=memory-db-rw.poimen.svc.cluster.local
DATABASE_PORT=5432
DATABASE_NAME=memory
DATABASE_USER=app
DATABASE_PASSWORD=PASSWORD
# Temporal
TEMPORAL_HOST_PORT=localhost:7233
TEMPORAL_NAMESPACE=default
# API Server
API_PORT=8080
# Logging
VERBOSE=false