Commit Graph

2996 Commits

Author SHA1 Message Date
Daniel.y
4daa1c966f Merge pull request #1170 from lcjqyml/feat-multi-user
Feat multi user support.
2025-03-25 17:48:20 +08:00
Daniel.y
2f7fcc3dfa Merge pull request #1183 from danielaskdd/main
Fix linting in README
2025-03-25 16:31:08 +08:00
yangdx
373484e253 Fix linting 2025-03-25 16:29:55 +08:00
yangdx
48ddfb047e Fix linting 2025-03-25 16:29:37 +08:00
yangdx
ac703dc448 Fix linting of README 2025-03-25 16:23:15 +08:00
Milin
23004546dc Merge branch 'main' 2025-03-25 15:57:14 +08:00
Milin
4af78f6c81 Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-25 15:38:56 +08:00
Daniel.y
9b2c31f30e Update __init__.py 2025-03-25 15:28:03 +08:00
Daniel.y
0cb32df1f1 Merge pull request #1182 from vvuk/patch-1
Un-center README.md
2025-03-25 15:23:15 +08:00
Vladimir Vukicevic
aede3b7de3 Un-center README.md 2025-03-25 00:12:44 -07:00
Daniel.y
86364aa9f6 Merge pull request #1171 from danielaskdd/add-temperature
Refactor authentication logic and Swagger Auth config
2025-03-25 14:00:20 +08:00
yangdx
ffcbb8f17d Update webui assets 2025-03-25 13:56:02 +08:00
yangdx
c4335f5dd0 Merge branch 'main' into add-temperature 2025-03-25 13:53:16 +08:00
yangdx
810dc66450 Add --show-diff-on-failure flag to pre-commit run 2025-03-25 13:35:08 +08:00
zrguo
56fa051917 fix lint 2025-03-25 13:24:52 +08:00
yangdx
7e843fb759 Revert "Add --show-diff-on-failure to ruff args in pre-commit config."
This reverts commit f7a72c458e.
2025-03-25 13:10:59 +08:00
yangdx
f7a72c458e Add --show-diff-on-failure to ruff args in pre-commit config. 2025-03-25 13:02:05 +08:00
yangdx
799c1a884a Fix linting 2025-03-25 12:51:45 +08:00
yangdx
6441d90682 Add chinese version of README
- Add introduction of  graph visualization in LightRAG Server
2025-03-25 12:51:05 +08:00
yangdx
72b085e19e Refactor authentication logic and update API version. 2025-03-25 11:47:52 +08:00
yangdx
15e060f854 Fix share storage update status handling problem of in memeory storage 2025-03-25 10:48:15 +08:00
yangdx
91f32dc561 Fix linting 2025-03-24 23:02:42 +08:00
yangdx
4698175d5d Acept all if no API protection needed 2025-03-24 23:02:12 +08:00
yangdx
82245bea1e Adjust header layout and alignment for better spacing 2025-03-24 21:48:22 +08:00
yangdx
56245b2fcd Fix reslectiton problem by efactor graph search input box handling logic 2025-03-24 21:33:42 +08:00
Milin
089e785c23 Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-24 17:40:24 +08:00
yangdx
f0054545c0 Update webui assets 2025-03-24 17:05:56 +08:00
yangdx
a0845b37c9 Add translations for API Key Alert component 2025-03-24 17:04:31 +08:00
yangdx
f8b3f1ee48 Refactor API key alert and remove message alert component
- Move StatusIndicator to status directory
- Remove obsolete MessageAlert component
- Enhance ApiKeyAlert with open state control
- Improve health check logic with alert state
- Add error message display in ApiKeyAlert
2025-03-24 17:00:15 +08:00
zrguo
498cd5cd78 Merge pull request #1160 from Gardelll/fix-mongo-doc-status
Fix mongo doc status
2025-03-24 16:31:57 +08:00
Milin
b868dddac5 feat(webui): Display logged-in username
- Add username display in the `SiteHeader` component.
- Update logout button text to include username.
- Add `username` field in auth state.
- Optimize token parsing logic to extract username information.
- pre-commit fix
2025-03-24 15:59:18 +08:00
yangdx
deef7182b9 Added special endpoint API key checks 2025-03-24 15:02:10 +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
79bf26dfeb Process update flags status for proper boolean conversion
- Convert MutableBoolean to regular boolean values
- Handle both multiprocess and single process cases
2025-03-24 12:49:39 +08:00
yangdx
13056822a8 Bump version to 1.2.9 and update API version to 1.2.3
- Add WHITELIST_PATHS environment variable to Server's README
2025-03-24 12:29:17 +08:00
Milin
e2737e4412 Merge branch 'main' of github.com:lcjqyml/LightRAG 2025-03-24 11:04:23 +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
ff9cb2138d Ensure thread safety in storage update callbacks
- Added storage lock in index_done_callback
- Fixed potential race conditions
2025-03-24 02:11:59 +08:00
yangdx
7e8a2c0e9b Added temperature parameter for LLM 2025-03-24 02:02:34 +08:00
omdivyatej
f87c235a4c less comments 2025-03-23 21:42:56 +05:30
omdivyatej
3522da1b21 specify LLM for query 2025-03-23 21:33:49 +05:30
Daniel.y
7d3b20c4d8 Merge pull request #1166 from danielaskdd/main
Refactor LightRAG Server documentation for clarity and structure.
2025-03-23 23:29:05 +08:00
yangdx
6ae42165be Refactor LightRAG Server documentation for clarity and structure. 2025-03-23 23:27:29 +08:00
omdivyatej
f8ba98c1ff first 2025-03-23 20:00:25 +05:30
omdivyatej
021152f95c first 2025-03-23 19:58:58 +05:30