Files
api/services/chat
Roberto Musso fe0dd038ee fix: Langfuse SDK v4 migration, tracing improvements, and LLM config
- Langfuse SDK v4: fix prompt-to-trace linking (as_type=generation)
- tracing: compile_prompt with Langfuse managed prompt fallback
- journey: remove journey CLI subcommand (keep only interactive)
- LLM: add service-specific llm modules for batch-agent and chat
- gitignore: exclude eval private test data
- config: add LANGFUSE settings to shared config
2026-03-24 16:25:51 +01:00
..

Chat Service

Owns: deep_agent (home + floating chat), memory middleware, domain agents (task, note, project, timeline), LLM orchestration.

Tables owned

  • memory_core
  • memory_associative
  • memory_episodic
  • memory_proactive

Tables read (cross-service)

  • users (for encryption_key — memory decryption)

Endpoints

  • POST /chat (REST fallback)

Redis channels

  • Subscribe: chat:request:{user_id}
  • Publish: ws:out:{user_id} (stream frames + tool calls)
  • BRPOP: tool:result:{call_id} (30s timeout)