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

14
list_routes.py Normal file
View File

@@ -0,0 +1,14 @@
import requests
import json
try:
resp = requests.get('http://localhost:8000/openapi.json', timeout=5)
if resp.status_code == 200:
data = resp.json()
print("Available paths:")
for path in sorted(data['paths'].keys()):
print(f" {path}")
else:
print(f"Failed to fetch openapi: {resp.status_code}")
except Exception as e:
print(f"Error: {e}")