docs: mark ai-assistant service as deprecated, not in live path
All checks were successful
build-and-release / build (push) Successful in 3m31s
All checks were successful
build-and-release / build (push) Successful in 3m31s
The production frontend calls backend-rust/apps/users/src/handlers/ai.rs directly. This service is an orphaned parallel build. Added a prominent banner in main.rs pointing devs to the correct extension points. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
23a707e175
commit
964b8d7ec4
1 changed files with 17 additions and 0 deletions
17
src/main.rs
17
src/main.rs
|
|
@ -1,3 +1,20 @@
|
|||
// ╔══════════════════════════════════════════════════════════════════════════╗
|
||||
// ║ DEPRECATED — NOT IN THE LIVE REQUEST PATH ║
|
||||
// ║ ║
|
||||
// ║ This service was built in parallel with the AI stack inside ║
|
||||
// ║ nxtgauge-backend-rust/apps/users/src/handlers/ai.rs. ║
|
||||
// ║ The production frontend (AiChatWidget.tsx) calls the backend-rust ║
|
||||
// ║ stack directly via /api/ai/*. This service is never called in ║
|
||||
// ║ production. ║
|
||||
// ║ ║
|
||||
// ║ Do NOT add new AI features here. Extend backend-rust instead: ║
|
||||
// ║ • Chat / intent: handlers/ai.rs → ask_ash / ai_router ║
|
||||
// ║ • Confirm flow: handlers/ai.rs → ai_chat_confirm ║
|
||||
// ║ • Credits/plans: handlers/ai_credits.rs ║
|
||||
// ║ • Generation: handlers/ai.rs (generate-cover-letter, ║
|
||||
// ║ generate-job-field, tailor-resume, etc.) ║
|
||||
// ╚══════════════════════════════════════════════════════════════════════════╝
|
||||
|
||||
mod actions;
|
||||
mod auth;
|
||||
mod chat;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue