LightRAG/lightrag
yangdx 7b07d4c917 feat: 支持 LiteLLM 客户端的 application/octet-stream 请求
修改 Ollama API 路由处理程序,使 /chat 和 /generate 端点能够接受 Content-Type 为 application/octet-stream 的请求。通过绕过 FastAPI 的自动请求验证机制,手动解析请求体,解决了 LiteLLM 客户端连接时出现的 422 错误。此更改保持了对现有 application/json 请求的向后兼容性。
2025-06-11 13:42:30 +08:00
..
api feat: 支持 LiteLLM 客户端的 application/octet-stream 请求 2025-06-11 13:42:30 +08:00
kg Optimize default setting of PostgreSQL 2025-05-22 17:09:26 +08:00
llm Fix linting 2025-05-22 10:46:03 +08:00
tools Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
__init__.py Bump core version to 1.3.8 2025-05-18 07:20:00 +08:00
base.py Fix linting 2025-05-08 04:29:43 +08:00
constants.py feat: Centralize configuration and update defaults 2025-05-06 22:00:43 +08:00
exceptions.py improved typing 2025-02-15 22:37:12 +01:00
lightrag.py Update insert_custom_kg 2025-05-27 16:07:04 +08:00
llm.py improved typing 2025-02-15 22:37:12 +01:00
mineru_parser.py fix lint 2025-06-05 17:37:11 +08:00
modalprocessors.py fix lint 2025-06-05 17:37:11 +08:00
namespace.py improved typing 2025-02-15 22:37:12 +01:00
operate.py Fix node merge error 2025-05-30 12:30:24 +08:00
prompt.py Optimizing query prompt 2025-05-08 12:53:28 +08:00
raganything.py fix lint 2025-06-05 17:37:11 +08:00
types.py Add is_truncated to graph query for NetworkX graph db 2025-04-02 22:12:20 +08:00
utils.py Remove unsed functions 2025-05-18 07:16:52 +08:00
utils_graph.py Update insert_custom_kg 2025-05-27 16:07:04 +08:00