Update chat events/transcription flow and container startup fixes

This commit is contained in:
Ruslan Bakiev
2026-02-19 12:54:16 +07:00
parent 7cc86579b2
commit 3ac487c25b
27 changed files with 3888 additions and 780 deletions

View File

@@ -1,4 +1,4 @@
DATABASE_URL="file:../../.data/clientsflow-dev.db"
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/clientsflow?schema=public"
REDIS_URL="redis://localhost:6379"
# Agent (LangGraph + OpenRouter)
@@ -11,11 +11,19 @@ OPENROUTER_X_TITLE="clientsflow"
# Enable reasoning payload for models that support it: 1 or 0
OPENROUTER_REASONING_ENABLED="0"
# Langfuse local tracing (optional)
LANGFUSE_ENABLED="true"
LANGFUSE_BASE_URL="http://localhost:3001"
LANGFUSE_PUBLIC_KEY="pk-lf-local"
LANGFUSE_SECRET_KEY="sk-lf-local"
# Optional fallback (OpenAI-compatible)
OPENAI_API_KEY=""
OPENAI_MODEL="gpt-4o-mini"
# "langgraph" (default) or "rule"
CF_AGENT_MODE="langgraph"
CF_WHISPER_MODEL="Xenova/whisper-small"
CF_WHISPER_LANGUAGE="ru"
TELEGRAM_BOT_TOKEN=""
TELEGRAM_WEBHOOK_SECRET=""