refactor(api): Code optimization based on review comments.

- Removed authentication dependency for the health check endpoint in lightrag_server.py
- Removed the authentication dependency for the entire router in ollama_api.py
- Updated the parameter list and example usage in README.md, removing authentication-related parts
- Removed neo4j and tqdm dependencies from requirements.txt
- Deleted command-line argument parsing code related to authentication from utils_api.py
This commit is contained in:
Milin
2025-03-05 20:38:05 +08:00
parent 11502fc756
commit 59e3b2eec1
5 changed files with 29 additions and 69 deletions

View File

@@ -8,14 +8,12 @@ python-multipart
tenacity
tiktoken
uvicorn
tqdm
jiter
httpcore
distro
httpx
openai
asyncpg
neo4j
pytz
python-jose[cryptography]
passlib[bcrypt]