Commit fe89dfb
fix(tests): Fix test suite failures and reduce to MLX-only providers
- Fix auth.routes.test.js: correct mock paths, add User model mock, update API expectations
- Fix image.routes.test.js: update tests for Phase 02 stub behavior (501 responses)
- Fix smartcampus.js: move requestId destructuring before try block (scoping fix)
- Move mock servers to tests/ directory (mock_mlx_server.js, mock_rag_server.js)
- Remove mock data: archivai-mock/, mock-chats.json
- Update PlannerSidebar: reduce model providers to MLX-only (text, vision, embed, whisper, tts, diffusion)
- Remove all cloud LLM providers (OpenAI, Claude, Gemini, Ollama, etc.)
Test results: 99/99 passing (100%)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 40fccda commit fe89dfb
File tree
18 files changed
+126
-929
lines changed- server/providers
- src/apps
- archiva/data/archivai-mock
- 1759412776664_deep-dive-into-react-context-api-and-performance-considerations
- 1759423920593_deep-merging-javascript-objects-recursively
- 1759486528591_refining-user-profile-page-api-integration
- chat/data
- planner/components
- tests
18 files changed
+126
-929
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
183 | 184 | | |
184 | | - | |
185 | | - | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
259 | 258 | | |
260 | 259 | | |
261 | 260 | | |
| 261 | + | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
| |||
Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 0 additions & 19 deletions
This file was deleted.
0 commit comments