yangdx
1030068459
feat(health-check): add pipeline busy status to health endpoint
2025-03-26 12:41:49 +08:00
Saifeddine ALOUI
2333958a6b
upgraded to use current folder's .env if present
2025-03-25 13:45:51 +01:00
Milin
23004546dc
Merge branch 'main'
2025-03-25 15:57:14 +08:00
Milin
4dfdb9032c
feat(auth): Implement multi-user login support
...
- Add an `accounts` dictionary in `AuthHandler` to store multiple user account information.
- Modify login logic to support multiple user account verification.
- Update environment variable example, add description for `AUTH_ACCOUNTS` variable.
- Adjust authentication status check logic, use `auth_handler.accounts` to determine if authentication is configured.
2025-03-24 14:34:31 +08:00
yangdx
d05cf286f4
Fix linting
2025-03-24 14:30:17 +08:00
yangdx
9e3994419e
Refactor authentication logic and Swagger UI config
...
- Consolidate authentication dependencies
- Improve Swagger UI security parameters
2025-03-24 14:29:36 +08:00
yangdx
77ab26e5bf
Fix linting
2025-03-24 05:39:50 +08:00
yangdx
071302d10f
Moved update status logic to document routes.
...
- Removed update status from health check endpoint
- Added update_status field to PipelineStatusResponse
2025-03-24 05:37:03 +08:00
yangdx
90ef55960d
Refactor authentication and whitelist handling
...
- Combined auth and API key dependencies
- Optimized whitelist path matching
- Added optional API key to OllamaAPI
2025-03-24 05:23:40 +08:00
yangdx
8301f0a523
Move temperature parameter into kwargs for LLM calls
...
- Applied changes to both OpenAI and Azure OpenAI calls
2025-03-24 03:03:55 +08:00
yangdx
7e8a2c0e9b
Added temperature parameter for LLM
2025-03-24 02:02:34 +08:00
yangdx
a444edd9eb
Added auth mode status to health check endpoint.
...
- Introduced auth_mode in health check response
- Updated App.tsx to handle guest mode logic
2025-03-23 02:43:44 +08:00
yangdx
ba07ec86a5
Fix linting
2025-03-23 00:30:18 +08:00
yangdx
31c7923067
Added core and API version to health check
...
- Bumped API version to 1.2.2
2025-03-23 00:28:50 +08:00
yangdx
0df0ba269d
Implemented version display in SiteHeader of webui
...
- Updated API version to 1.2.0
- Stored versions in localStorage
2025-03-22 01:51:39 +08:00
yangdx
67eee2d2d5
Prioritize OS environment variables over .env file to improve Docker compatibility for the server
2025-03-21 13:27:12 +08:00
yangdx
5536ed50ca
Fix linting
2025-03-18 16:18:37 +08:00
yangdx
d80ca4dc07
Added root redirect to /webui and updated webui config
2025-03-18 15:38:41 +08:00
yangdx
43996656d3
Fix linting
2025-03-18 03:30:43 +08:00
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
choizhang
b58729751a
Merge branch 'improve-property-tooltip' into loginPage
2025-03-15 00:11:50 +08:00
yangdx
6893e3c4e2
Unify two log filters into one and move it to utils
2025-03-13 17:39:06 +08:00
yangdx
002d675dc6
Explicitly set API docs and schema URLs.
...
- Set OpenAPI schema URL to `/openapi.json`
- Set docs URL to `/docs`
- Set redoc URL to `/redoc`
- Update Vite config for API docs routing
- Ensure proper path handling for docs endpoints
2025-03-13 13:00:14 +08:00
yangdx
330f608fa9
Fix linting
2025-03-12 18:55:15 +08:00
yangdx
5c1cf6a8ff
Prevent caching problem of HTML files for web UI
...
- Add NoCacheStaticFiles class
- Set Cache-Control headers for HTML files
2025-03-12 18:54:35 +08:00
choizhang
6b22e8065b
Added loginPage
2025-03-11 14:48:19 +08:00
yangdx
5d64f3b0a0
Improved auto-scan task initialization and status tracking.
...
- Added autoscan status tracking in pipeline
- Ensured auto-scan runs only once per startup
2025-03-10 17:14:14 +08:00
yangdx
bc42afe7b6
Unify llm_response_cache and hashing_kv, prevent creating an independent hashing_kv.
2025-03-09 22:15:26 +08:00
yangdx
020a6b5ae0
Refactor LLM cache config to use argparse and add status display
2025-03-09 16:45:57 +08:00
yangdx
c2f861fba9
Settign LLM cache option for entity extraction from env
2025-03-07 15:03:33 +08:00
Milin
c015296081
refactor(api): Fix issues reported by pre-commit
...
- Modified code layout and formatting in multiple files, improving code readability.
- Updated import statements, removing unused libraries.
- Simplified the writing of some functions and exception handling.
2025-03-06 14:23:52 +08:00
Milin
59e3b2eec1
refactor(api): Code optimization based on review comments.
...
- Removed authentication dependency for the health check endpoint in lightrag_server.py
- Removed the authentication dependency for the entire router in ollama_api.py
- Updated the parameter list and example usage in README.md, removing authentication-related parts
- Removed neo4j and tqdm dependencies from requirements.txt
- Deleted command-line argument parsing code related to authentication from utils_api.py
2025-03-05 20:38:05 +08:00
Milin
11502fc756
Merge branch 'HKUDS:main' into feat_login-jwt
2025-03-05 20:21:21 +08:00
zrguo
06fc65d9a0
Revert "[EVO] Add language configuration to environment and argument parsing"
...
This reverts commit a688b8822a8a9eb3853781bb5c71029a22aa5396.
2025-03-05 16:26:28 +08:00
Milin
852634e20e
Merge branch 'main' into feat_login-jwt
2025-03-05 12:42:40 +08:00
Milin
63aa4f9dfc
feat(api): Add user authentication functionality
...
- Implement JWT-based user authentication logic
- Add login endpoint and token validation middleware
- Update API routes with authentication dependencies
- Add authentication-related environment variables
- Optimize requirements.txt with necessary dependencies
2025-03-05 11:09:31 +08:00
Yannick Stephan
a39e1554d1
Merge pull request #994 from Brocowlee/language_support
...
[EVO] Add language configuration to environment and argument parsing
2025-03-04 22:33:03 +01:00
Brocowlee
a688b8822a
[EVO] Add language configuration to environment and argument parsing
2025-03-04 10:09:47 +00:00
Saifeddine ALOUI
694daf158a
Merge branch 'HKUDS:main' into main
2025-03-04 08:27:53 +01:00
zrguo
6094c62540
Merge pull request #987 from danielaskdd/fix-webui-install
...
fix: api server installation missing MANIFEST.in file
2025-03-04 13:26:19 +08:00
yangdx
d7f7c07251
Fix linting
2025-03-04 12:19:40 +08:00
yangdx
b12c05ec0a
fix: api server installation missing MANIFEST.in file
...
- Added MANIFEST.in to include webui files
- Removed /webui/ endpoint from lightrag_server.py
2025-03-04 12:09:00 +08:00
yangdx
b26a574f40
Deprecate log_level and log_file_path in LightRAG.
...
- Remove log_level from API initialization
- Add warnings for deprecated logging params
2025-03-04 01:07:34 +08:00
yangdx
462c27c167
Refactor logging setup and simplify Gunicorn configuration
...
• Move logging setup code to utils.py
• Provide setup_logger for standalone LightRAG logger intialization
2025-03-03 23:18:41 +08:00
Saifeddine ALOUI
5680e9ef11
Update lightrag_server.py
2025-03-03 12:24:49 +01:00
yangdx
8d6960f280
Fix linting
2025-03-02 00:13:11 +08:00
yangdx
f76cf98dbd
Add automatic dependency checking and installation for server startup
...
• Added check_and_install_dependencies()
• Install missing dependencies automatically
2025-03-02 00:04:59 +08:00
yangdx
40e9e26edb
feat: add update flags status to API health endpoint
2025-03-01 14:58:26 +08:00
yangdx
c07a5039b7
Refactor shared storage locks to separate pipeline, storage and internal locks for deadlock preventing
2025-03-01 10:48:55 +08:00
yangdx
fd76e00c6a
Refactor storage initialization to separate object creation from data loading
...
• Split __post_init__ and initialize()
• Move data loading to initialize()
• Add FastAPI lifespan integration
2025-03-01 03:48:19 +08:00