mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
feat: add unit tests, Docker polish, and workbench UX improvements
Unit tests: Consumer class (7), recursive-splitter (10), parseJsonResponse (11) — 28 total. Docker: add 5 commented LLM provider services, dev compose override, .env.example. Workbench: chat persistence, error boundary, disconnect banner, prompts error handling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c7eefee607
commit
72870a7e2e
17 changed files with 718 additions and 33 deletions
|
|
@ -29,6 +29,19 @@ services:
|
|||
- ./loki/loki-config.yml:/etc/loki/local-config.yaml
|
||||
- loki-data:/tmp/loki
|
||||
|
||||
# Override text-completion to use Ollama (no API key needed for local dev)
|
||||
text-completion:
|
||||
command: ["node", "entrypoints/text-completion-ollama.mjs"]
|
||||
environment:
|
||||
- NATS_URL=nats://nats:4222
|
||||
- OLLAMA_URL=http://ollama:11434
|
||||
- OLLAMA_MODEL=${OLLAMA_MODEL:-gemma3:4b}
|
||||
depends_on:
|
||||
nats:
|
||||
condition: service_healthy
|
||||
ollama:
|
||||
condition: service_started
|
||||
|
||||
# NATS CLI tools for debugging
|
||||
nats-cli:
|
||||
image: natsio/nats-box:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue