Commit Graph

3602 Commits

Author SHA1 Message Date
Arjun Rao
b7eae4d7c0 Use the context manager for the openai client
This avoids issues of resource cleanup (too many open files) when dealing with massively parallel calls to the openai API since RAII in python is highly unreliable in such contexts.
2025-05-08 11:42:53 +10:00
Arjun Rao
f2c522ce7a Allow max_connections to be configured in postgres 2025-05-08 11:00:56 +10:00
yangdx
7ccc3ffdd7 Fix linting 2025-04-30 14:10:50 +08:00
yangdx
62fd4a0540 Optimize log messages 2025-04-30 13:53:03 +08:00
yangdx
946e55115d Update README 2025-04-30 11:07:38 +08:00
yangdx
3a6109d07c Fix lintings in examples folder 2025-04-30 10:39:55 +08:00
yangdx
1f48f72fe2 Bump core api to 1.3.7 2025-04-30 10:28:04 +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
936587d4dd Adjust width of chat message box from server 2025-04-29 19:19:22 +08:00
yangdx
48fd250257 Optimize log messages 2025-04-29 19:02:08 +08:00
yangdx
43f255a5b4 Optimize log message 2025-04-29 18:20:35 +08:00
Daniel.y
b9d108c7a6 Merge pull request #1492 from danielaskdd/fix-openai-retry
fix: correct retry_if_exception_type usage and improve async iterator…
2025-04-29 17:59:39 +08:00
yangdx
34cc8b6a51 Fix linting 2025-04-29 17:52:07 +08:00
yangdx
f58c8276bc fix: correct retry_if_exception_type usage and improve async iterator resource management
- Corrects the syntax of retry_if_exception_type decorators to ensure proper exception handling and retry behavior
- Implements proper resource cleanup for async iterators to prevent memory leaks and potential SIGSEGV errors
2025-04-29 17:43:27 +08:00
Daniel.y
9f9cf37814 Merge pull request #1488 from danielaskdd/improve-limit-async
Enhance the robustness of concurrency control and scheduling logic
2025-04-29 13:51:25 +08:00
yangdx
9f33ff2ecd Optimize log messages 2025-04-29 13:45:06 +08:00
yangdx
81953e6d46 Enhance the robustness of concurrency control and scheduling logic 2025-04-29 13:38:11 +08:00
yangdx
5f3e210246 Optimize log messages 2025-04-29 13:32:05 +08:00
Daniel.y
51ba711d76 Merge pull request #1484 from danielaskdd/fix-browse-compatible
Fix browse compatible problem for crypto.randomUUID
2025-04-29 02:46:24 +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
4e2e668def Bump webui setting version to 12 2025-04-29 02:36:17 +08:00
Daniel.y
fe06110042 Merge pull request #1483 from danielaskdd/llm-priority-support
Feat: Introduce priority scheduling to optimize parallel execution of LLM and Embedding tasks.
2025-04-29 00:14:56 +08:00
yangdx
b6f4177af5 Bump core version to 1.3.6 2025-04-29 00:14:00 +08:00
yangdx
1afcbcbfb5 Fix race condition for health_check and ensure_workers 2025-04-29 00:08:52 +08:00
yangdx
1fc26127d5 Fix linting 2025-04-28 23:21:34 +08:00
yangdx
a4a0643ad0 Enable graph_db_lock log 2025-04-28 23:21:07 +08:00
yangdx
3aef63cc65 Optimize log info 2025-04-28 23:17:09 +08:00
yangdx
40a2357c14 Persistence cache data to disk before exiting 2025-04-28 23:16:50 +08:00
yangdx
0ecae90002 Enhance the function's robustness 2025-04-28 22:52:31 +08:00
yangdx
90a07b0420 Remove unused params 2025-04-28 21:14:19 +08:00
yangdx
e30afe8686 fix(utils): Fix TypeError in priority_limit_async_func_call when comparing Future objects 2025-04-28 21:07:01 +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
e0d2775127 Increase the pipeline status popup width 2025-04-28 20:30:35 +08:00
yangdx
ca63386546 Increase embeding priority for query request 2025-04-28 20:10:39 +08:00
yangdx
ef69009c15 Increase the priority of queries related to LLM requests 2025-04-28 19:36:21 +08:00
yangdx
2d59ac1ecb Remove deprecated embedding cache logic 2025-04-28 18:51:43 +08:00
yangdx
5a393e563e remove duplicate priority setting for merge summerization 2025-04-28 18:37:51 +08:00
yangdx
140b1b3cbb Add priority control for limited async decorator 2025-04-28 18:12:29 +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
Daniel.y
b7db1f321d Merge pull request #1479 from danielaskdd/keep-chat-history
Keep chat history when login with same user
2025-04-28 03:04:06 +08:00
yangdx
9cc14fa821 Update webui assets 2025-04-28 03:00:23 +08:00
Daniel.y
a5c24342e2 Merge pull request #1478 from danielaskdd/improve-extract-merge-parallel
Improve parallel processing logic for document extraction and merging
2025-04-28 02:56:41 +08:00
yangdx
1f18b99df0 Optimize logger info 2025-04-28 02:46:11 +08:00
yangdx
3e385b5f81 Optimize logger info 2025-04-28 02:39:18 +08:00
yangdx
ef4a4ac8ed Optimize looger info 2025-04-28 02:35:35 +08:00
yangdx
bef7206192 Optimize logger info 2025-04-28 02:27:59 +08:00