849 Commits

Author SHA1 Message Date
yangdx
85bed30764 Fix linting 2025-05-21 16:46:36 +08:00
yangdx
45cebc71c5 Refactor: Optimize static file caching for WebUI
- Renamed `NoCacheStaticFiles` to `SmartStaticFiles`.
- Implemented long-term caching (1 year, immutable) for versioned assets in `/webui/assets/`.
- Ensured `index.html` remains un-cached.
- Set correct `Content-Type` for JS and CSS files.
2025-05-21 16:46:18 +08:00
yangdx
0961a21722 Set correct Content-Type header for JavaScript files
• Fix missing Content-Type header for .js files
• Ensure proper MIME type handling
• Improve browser compatibility
2025-05-21 16:17:42 +08:00
yangdx
c41f8d9ed3 Update README 2025-05-16 09:05:50 +08:00
yangdx
e5b0807298 Update README 2025-05-15 17:36:45 +08:00
yangdx
b9c25dfeb0 Update README 2025-05-14 14:42:52 +08:00
yangdx
db125c3764 Update README 2025-05-14 11:29:46 +08:00
yangdx
55e28f45e4 Updage logo 2025-05-13 20:35:35 +08:00
yangdx
d0029b5b53 Update favicon.png 2025-05-12 20:02:03 +08:00
yangdx
85ac94bae0 Update icon.svg 2025-05-12 19:47:35 +08:00
yangdx
00b78b91d6 Change website icon 2025-05-12 19:14:02 +08:00
yangdx
cbc8796bb0 Update logo from png to svg 2025-05-12 18:49:58 +08:00
yangdx
dfc44ec4be Update logo.png 2025-05-12 18:21:52 +08:00
yangdx
c36d499a43 Update webui assets 2025-05-11 12:44:50 +08:00
yangdx
d5b9318553 Bump api version to 0170 2025-05-11 11:51:53 +08:00
yangdx
4d57370c94 Refactor: Move get_env_value from api.config to utils
Relocates the `get_env_value` utility function
from `lightrag.api.config` to `lightrag.utils` to decouple
LightRAG core from API Server
2025-05-10 08:58:18 +08:00
yangdx
8145b436c8 Fix linting 2025-05-09 11:52:10 +08:00
yangdx
0751382e65 Update README.md 2025-05-09 11:51:22 +08:00
yangdx
fb4f12ba8e Add user prompt support for Ollama api 2025-05-09 11:37:43 +08:00
yangdx
45d4db1eff Update webui assets 2025-05-08 04:18:19 +08:00
yangdx
d914de441e Add user_prompt to WebUI 2025-05-08 04:15:21 +08:00
yangdx
147f73002d Remove ll-keywords and hl-keywords from WebUI 2025-05-07 19:07:31 +08:00
yangdx
ee420f135a Bump api version to 0168 2025-05-07 04:37:20 +08:00
yangdx
217d80bfd8 Update webui assets 2025-05-07 04:36:48 +08:00
yangdx
0e3e936e1a Bump api version to 0167 2025-05-07 01:52:29 +08:00
yangdx
c8ecfa2d68 feat: Centralize configuration and update defaults
This commit introduces `lightrag/constants.py` to centralize default values for various configurations across the API and core components.

Key changes:
- Added `constants.py` to centralize default values
- Improved the `get_env_value` function in `api/config.py` to correctly handle string "None" as a None value and to catch `TypeError` during value conversion.
- Updated the default `SUMMARY_LANGUAGE` to "English"
- Set default `WORKERS` to 2
2025-05-06 22:00:43 +08:00
yangdx
8c08743058 Update webui assets 2025-05-05 00:17:35 +08:00
yangdx
3bc240263d Bump api version to 0166 2025-05-04 23:27:40 +08:00
yangdx
8f8476b834 Update webui assets 2025-05-04 23:25:52 +08:00
yangdx
36f8787bc7 Fix linting 2025-05-01 10:04:31 +08:00
yangdx
a561be0cff Fix time zone problem of doc status 2025-05-01 02:16:19 +08:00
yangdx
b1ace9da53 Remove updated document 2025-04-30 10:26:54 +08:00
yangdx
c84ce37c60 Update webui assets 2025-04-29 19:19:42 +08:00
yangdx
c153aa697c Update webui assets 2025-04-29 02:37:50 +08:00
yangdx
4f523366aa Fix browse compatible problem for crypto.randomUUID 2025-04-29 02:37:05 +08:00
yangdx
971cc72193 Update webui assets 2025-04-28 20:42:35 +08:00
yangdx
25d0a9a1bf Bump api version to 0164 2025-04-28 20:31:09 +08:00
yangdx
0c117816dc Merge branch 'hotfix-pip-install' 2025-04-28 13:22:07 +08:00
yangdx
74c8bde32a Fix: pip pacakage missing requirement.txt 2025-04-28 12:55:01 +08:00
yangdx
9cc14fa821 Update webui assets 2025-04-28 03:00:23 +08:00
yangdx
ffd4b23783 Bump api version to 0163 2025-04-28 02:15:34 +08:00
Daniel.y
2a9adddbb1
Merge pull request #1466 from feeingHe/patch-1
Update README-zh.md
2025-04-26 17:53:14 +08:00
yangdx
987c1e4265 Bump api version to 0162 2025-04-26 12:32:48 +08:00
yangdx
ec1b3394d2 Update webui assets 2025-04-26 12:32:16 +08:00
Fee He
4765dc632e
Update README-zh.md
Fix 'sevice' to 'service' according to the code.
2025-04-26 11:38:09 +08:00
yangdx
18b669278f Update webui assets 2025-04-25 01:16:34 +08:00
yangdx
0c7458905c Bump api version to 0161 2025-04-25 01:15:17 +08:00
yangdx
31bd274601 Add Unicode collation for Chinese file sorting of document scanning 2025-04-25 01:02:09 +08:00
yangdx
3aab5b41f2 Fix linting 2025-04-24 14:15:10 +08:00
yangdx
fc425f1397 Send all found files to pipeline at once 2025-04-24 14:00:43 +08:00