learning_ai_common_plat/services/cowork-service/src/modules/llm
saravanakumardb1 f542160784 feat(cowork-service): H.7 — wire @bytelyst/llm-router for multi-model routing
Added LLM routing module to cowork-service:
- lib/llm-router.ts — singleton LlmRouter with cloud + local Ollama support
- modules/llm/types.ts — Zod request schemas
- modules/llm/routes.ts — POST /api/llm/chat, GET /api/llm/providers, GET /api/llm/health
- All endpoints gated by llm_multi_model_enabled feature flag
- Best-effort init: service works without API keys (router stays uninitialized)
- 8 new tests (routes), server test updated for 3 route modules
- 57 total tests passing, typecheck clean
2026-04-02 23:10:07 -07:00
..
routes.test.ts feat(cowork-service): H.7 — wire @bytelyst/llm-router for multi-model routing 2026-04-02 23:10:07 -07:00
routes.ts feat(cowork-service): H.7 — wire @bytelyst/llm-router for multi-model routing 2026-04-02 23:10:07 -07:00
types.ts feat(cowork-service): H.7 — wire @bytelyst/llm-router for multi-model routing 2026-04-02 23:10:07 -07:00