learning_ai_common_plat/services/cowork-service
saravanakumardb1 ca7c3e571e fix(cowork-service): audit H.7 — fix LLM timeout, harden test mocks, add Ollama config
Bug fixes from systematic review of H.7 LLM router wiring:
- lib/llm-router.ts: remove RUST_RUNTIME_TIMEOUT_MS (300s IPC timeout) override
  — let LlmRouter use its built-in 30s default, appropriate for cloud API calls
- server.test.ts: add debug/error to appMock.log — prevents fragile failures
  if any startup path hits those log levels
- server.test.ts: add OLLAMA_URL + OLLAMA_MODELS to config mock

New feature:
- config.ts: add OLLAMA_URL + OLLAMA_MODELS env vars for local Ollama support
- server.ts: wire Ollama env vars into initLlmRouter() — set
  OLLAMA_MODELS=model1,model2 to auto-add local Ollama as a provider

57 tests passing, 9 test files, typecheck clean
2026-04-02 23:37:50 -07:00
..
src fix(cowork-service): audit H.7 — fix LLM timeout, harden test mocks, add Ollama config 2026-04-02 23:37:50 -07:00
package.json feat(cowork-service): H.7 — wire @bytelyst/llm-router for multi-model routing 2026-04-02 23:10:07 -07:00
tsconfig.json feat(cowork-service): scaffold Fastify bridge + seed clawcowork feature flags (H.1 + H.2) 2026-04-02 20:39:22 -07:00
vitest.config.ts feat(cowork-service): scaffold Fastify bridge + seed clawcowork feature flags (H.1 + H.2) 2026-04-02 20:39:22 -07:00