4 Commits

Author SHA1 Message Date
yangdx
caac0479d3 Fix linting 2025-04-04 21:34:13 +08:00
yangdx
27d478385d Change default token expire hour 2025-04-04 21:26:55 +08:00
yangdx
95630aa669 Centralize env reading 2025-04-04 21:06:21 +08:00
Milin
088fc19318 feat(config): Refactor configuration management
- Optimize JWT Auth module to load configuration via `global_args`.
- Decouple configuration-related code from `utils_api.py`, and add a new `config.py` file for unified configuration management.
- Adjust configuration import in `lightrag_server.py`, `auth.py`, and `document_routes.py` to be introduced through `global_args`.
2025-03-31 11:19:47 +08:00