mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-05-28 15:16:49 +02:00
Return a discriminated `EmbedSingleFileResult` from `RagService.embedSingleFile` with `code: 'not_found' | 'inflight' | 'delete_failed' | 'dispatch_failed'` on failure. `RagController.embedFile` now maps those codes to the correct status instead of collapsing every failure to 409: - not_found → 404 - inflight → 409 - delete_failed → 500 - dispatch_failed → 500 The `code` is also included in the JSON body so clients can branch without string-matching `error`. |
||
|---|---|---|
| .. | ||
| benchmark_controller.ts | ||
| chats_controller.ts | ||
| collection_updates_controller.ts | ||
| docs_controller.ts | ||
| downloads_controller.ts | ||
| easy_setup_controller.ts | ||
| home_controller.ts | ||
| maps_controller.ts | ||
| ollama_controller.ts | ||
| rag_controller.ts | ||
| settings_controller.ts | ||
| system_controller.ts | ||
| zim_controller.ts | ||