feat(chat): add guest chat mode for unauthenticated users #667
Reference in New Issue
Block a user
Delete Branch "feature/chat-guest-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
POST /api/chat/guestendpoint (no auth required)proxyGuestChat()method using configurable LLM endpointstreamGuestChat()function to frontend chat API!usercheck from ChatInput disabled propConfiguration
Guest LLM configured via env vars:
GUEST_LLM_URL- OpenAI-compatible endpoint (default: http://10.1.1.42:11434/v1)GUEST_LLM_API_KEY- API key (optional)GUEST_LLM_MODEL- Model name (default: llama3.2)Testing
Fixes chat overlay 403 error for unauthenticated users.
Approved - typecheck passes, lint errors pre-existing
0b323ed537to48d734516a