16 Commits

Author SHA1 Message Date
yangdx
7436c06f6c Fix linting 2025-02-26 18:11:16 +08:00
yangdx
2752a764ae Refactor storage implementations to support both single and multi-process modes
• Add shared storage management module
• Support process/thread lock based on mode
2025-02-26 05:38:38 +08:00
yangdx
7262f61b0e add redis configuration and update workers default value 2025-02-25 10:47:27 +08:00
yangdx
04fc5ce604 Remove unspported endpoint from splash mesages 2025-02-25 09:45:14 +08:00
yangdx
ddc366b672 Optimize display_splash_screen function
- Merge System Configuration into Server Configuration section
- Add Workers parameter display after Port parameter
2025-02-25 09:44:17 +08:00
yangdx
d74a23d2cc Add multiple workers support for API Server 2025-02-25 09:37:00 +08:00
yangdx
f5efe5977b Merge branch 'clear-text-before-insert' into simplify-cli-arguments 2025-02-23 17:06:39 +08:00
yangdx
78e0ca7835 Change defautl timeout for LLM to 150s 2025-02-23 17:03:35 +08:00
yangdx
df95f251dc Move server ready message to lifespan 2025-02-23 16:42:31 +08:00
yangdx
d84b90bcd4 Handle special case of CLI argument openai-ollama 2025-02-22 15:27:19 +08:00
yangdx
f9780830ad Revert: get llm-binding and embedding-binding from cli 2025-02-22 10:46:54 +08:00
yangdx
2fdbbc2062 Reorder and improve command line argument definitions for better organization
- Change verbose to store_true action
- Move verbose flag to logging section
- Move auto-scan flag to end of options
2025-02-21 20:01:43 +08:00
yangdx
a848884a7b Remove unnesessary CLI arguments, reduce CLI arguments complexity
• Move storage config from CLI
• Move LLM and embedding binding config from CLI
• Remove chunk config from CLI
2025-02-21 19:34:17 +08:00
yangdx
5d884f6d3e refactor: centralize configuration and utility functions
- Move parse_args and display_splash_screen functions from lightrag_server.py to utils_api.py
- Move OllamaServerInfos class and instance from ollama_api.py to utils_api.py
2025-02-20 12:12:20 +08:00
yangdx
a8abcf14ac Fit linting 2025-02-20 04:12:21 +08:00
yangdx
c0c87edc45 split lightrag_servery.py to smaller files 2025-02-20 03:26:39 +08:00