LightRAG/lightrag
yangdx f8440c8f80 feat(auth): implement auto guest mode and enhance token system
- Add role-based token system with metadata support
- Implement automatic guest mode for unconfigured authentication
- Create new /auth-status endpoint for authentication status checking
- Modify frontend to auto-detect auth status and bypass login when appropriate
- Add guest mode indicator in site header for better UX

This change allows users to automatically access the system without manual
login when authentication is not configured, while maintaining secure
authentication when credentials are properly set up.
2025-03-18 02:56:02 +08:00
..
api feat(auth): implement auto guest mode and enhance token system 2025-03-18 02:56:02 +08:00
kg Ensure unique edge IDs for NetworkX 2025-03-18 00:00:56 +08:00
llm fix stream 2025-03-17 11:41:55 +08:00
tools Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
__init__.py Update __init__.py 2025-03-13 16:58:03 +08:00
base.py fix merge bugs 2025-03-11 16:05:04 +08:00
exceptions.py improved typing 2025-02-15 22:37:12 +01:00
lightrag.py Update log message for in-memory DB persistence 2025-03-17 05:00:37 +08:00
llm.py improved typing 2025-02-15 22:37:12 +01:00
namespace.py improved typing 2025-02-15 22:37:12 +01:00
operate.py fix linting 2025-03-11 15:44:01 +08:00
prompt.py force keywords_extraction output as JSON 2025-03-11 11:54:30 +08:00
types.py fixed lint 2025-02-16 12:45:27 +01:00
utils.py Minimized API request between Tab view change 2025-03-13 19:50:37 +08:00