Yannick Stephan
af477e8a26
cleaned typing
2025-02-09 11:00:04 +01:00
Yannick Stephan
f4287804ce
added typing
2025-02-09 10:39:48 +01:00
Yannick Stephan
31fe96d74a
cleaned optional not used
2025-02-09 10:33:15 +01:00
Yannick Stephan
d267f06602
cleaned base and optional unuseful
2025-02-09 10:32:59 +01:00
Yannick Stephan
50c7f26262
cleanup code
2025-02-08 23:58:15 +01:00
Yannick Stephan
2929d1fc39
fixed pipe
2025-02-08 23:52:27 +01:00
Yannick Stephan
020fdecc73
cleaned typed not useful
2025-02-08 23:33:11 +01:00
Yannick Stephan
d2db250ee7
added type to be more clear
2025-02-08 23:25:42 +01:00
Yannick Stephan
677013e9d5
cleaned code
2025-02-08 23:24:00 +01:00
Yannick Stephan
5a082a0052
cleaned code
2025-02-08 23:20:37 +01:00
Yannick Stephan
cff415d91f
implemented method and cleaned the mess
2025-02-08 23:18:12 +01:00
Yannick Stephan
eb552afcdc
fixed base and generic
2025-02-08 23:16:04 +01:00
Yannick Stephan
fe3050adce
updated json kv
2025-02-08 23:02:40 +01:00
Yannick Stephan
ff0bd1512e
cleaned base and added missing status
2025-02-08 22:57:37 +01:00
zrguo
7f407ce949
Merge pull request #732 from ArnoChenFx/improve-namespace-handling
...
improve namespace handling
2025-02-09 01:18:57 +08:00
ArnoChen
f5bf6a4af8
use namespace as neo4j database name
...
format
fix
2025-02-08 20:06:18 +08:00
ArnoChen
3f845e9e53
better handling of namespace
2025-02-08 16:05:59 +08:00
zrguo
e787d92a0c
Merge pull request #729 from ArnoChenFx/add-namespace-prefix
...
add namespace prefix to storage namespaces
2025-02-08 13:57:20 +08:00
ArnoChen
b2b8cf0aa4
remove unused json_doc_status_storage
2025-02-08 13:56:12 +08:00
ArnoChen
f974bf39bb
format
...
format
2025-02-08 13:53:00 +08:00
ArnoChen
88d691deb9
add namespace prefix to storage namespaces
2025-02-08 13:53:00 +08:00
zrguo
48aa80baa2
Merge pull request #724 from ultrageopro/main
...
feat: trimming the model’s reasoning
2025-02-07 13:07:27 +08:00
zrguo
24fa7225ec
Merge pull request #728 from danielaskdd/rename-service-file
...
Rename startup script and service files for better clarity
2025-02-07 13:06:58 +08:00
yangdx
0890c6ad7e
update docs for service isntallation
2025-02-07 11:05:38 +08:00
yangdx
0affee1eef
Rename startup script and service files for better clarity
...
• Renamed start_lightrag.sh to lightrag-api
• Renamed service file to lightrag.service
• Updated service file to use new script name
• Made file names more consistent
2025-02-07 10:54:13 +08:00
UltraGeoPro
3e5bf6752c
Merge branch 'main' into main
2025-02-06 23:06:51 +03:00
yangdx
a61db0852a
Fix linting
2025-02-06 23:04:43 +03:00
yangdx
e756aca3a2
Remove Chinese comments and added English comments for clarity
2025-02-06 23:04:36 +03:00
yangdx
f83bd765ea
fix: improve timing accuracy and variable scoping in OllamaAPI
2025-02-06 23:04:35 +03:00
yangdx
52f4d97172
Fix timing calculation logic in OllamaAPI stream generators
...
• Initialize first_chunk_time as None
• Set timing only when first chunk arrives
2025-02-06 23:04:33 +03:00
yangdx
d297a87190
Fix linting
2025-02-06 23:04:32 +03:00
yangdx
e4476ef0af
Add error handling and improve logging for concurrent request testing
...
• Added McpError and ErrorCode classes
• Added detailed error collection logic
• Improved error reporting & formatting
• Added request ID tracking
• Enhanced test results visibility
2025-02-06 23:04:30 +03:00
yangdx
4bdb8e30de
Fix linting
2025-02-06 23:04:28 +03:00
yangdx
1508dcb403
refactor: enhance stream error handling and optimize code structure
...
- Initialize timestamps at start to avoid null checks
- Add detailed error handling for streaming response
- Handle CancelledError and other exceptions separately
- Unify exception handling with trace_exception
- Clean up redundant code and simplify logic
2025-02-06 23:04:26 +03:00
yangdx
b90f3f14be
Add LightRAG version to User-Agent header for better request tracking
...
• Add User-Agent header with version info
• Update header creation in Ollama client
• Update header creation in OpenAI client
• Ensure consistent header format
• Include Mozilla UA string for OpenAI
2025-02-06 23:04:19 +03:00
yangdx
cec8da7f91
Update timeout and max_retries for unit tests
2025-02-06 23:03:33 +03:00
yangdx
f72e4e6830
Enhance OpenAI API error handling and logging for better reliability
...
• Add InvalidResponseError custom exception
• Improve error logging for API failures
• Add empty response content validation
• Add more detailed debug logging info
• Add retry for invalid response cases
2025-02-06 23:03:31 +03:00
ultrageopro
19ee3d109c
feat: trimming the model’s reasoning
2025-02-06 22:56:17 +03:00
zrguo
0005462d4d
Merge pull request #723 from danielaskdd/improve-ollama-api-streaming
...
Improve error handling
2025-02-07 02:18:54 +08:00
yangdx
349dcf7d47
Merge branch 'main' into improve-ollama-api-streaming
2025-02-07 00:07:25 +08:00
zrguo
9db1db2b38
Merge pull request #722 from danielaskdd/fix-mutable-default-param
...
Fix mutable default param
2025-02-06 23:32:11 +08:00
zrguo
3b34ece04e
Merge pull request #720 from danielaskdd/add-keyword-extraction-param-for-llm
...
fix: add keyword_extraction param support for LLM func of API Server
2025-02-06 23:31:53 +08:00
yangdx
8fdba5d4db
Fix linting
2025-02-06 23:12:35 +08:00
yangdx
c838229f05
Remove Chinese comments and added English comments for clarity
2025-02-06 23:10:15 +08:00
yangdx
81377da418
Merge tag 'time-temp' into improve-ollama-api-streaming
2025-02-06 23:00:32 +08:00
yangdx
2760433634
Add LightRAG version to User-Agent header for better request tracking
...
• Add User-Agent header with version info
• Update header creation in Ollama client
• Update header creation in OpenAI client
• Ensure consistent header format
• Include Mozilla UA string for OpenAI
2025-02-06 22:55:22 +08:00
yangdx
6ca7487cac
Update timeout and max_retries for unit tests
2025-02-06 19:56:18 +08:00
yangdx
506e39e14e
Enhance OpenAI API error handling and logging for better reliability
...
• Add InvalidResponseError custom exception
• Improve error logging for API failures
• Add empty response content validation
• Add more detailed debug logging info
• Add retry for invalid response cases
2025-02-06 19:42:57 +08:00
yangdx
290a4d5ec0
Fix linting
2025-02-06 16:24:02 +08:00
yangdx
070501fdaa
Merge branch 'add-keyword-extraction-param-for-llm' into fix-mutable-default-param
2025-02-06 16:22:30 +08:00