Auto-commit: OCR workflow improvements, performance optimizations, and bug fixes

This commit is contained in:
2026-01-11 18:21:16 +08:00
parent 642dd0ea5f
commit 1ddd49f913
97 changed files with 5909 additions and 451 deletions

15
test_routes.py Normal file
View File

@@ -0,0 +1,15 @@
import sys
sys.path.insert(0, 'LightRAG-main')
from lightrag.api.lightrag_server import create_app
from lightrag.api.config import global_args
app = create_app(global_args)
print("Registered routes:")
for route in app.routes:
if hasattr(route, 'path'):
print(f"{route.path} ({route.methods})")
elif hasattr(route, 'routes'):
for subroute in route.routes:
print(f" {subroute.path} ({subroute.methods})")