aider-gitea/aider_gitea/secrets.py
Jon Michael Aanes fca65f73c5
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 24s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s
Lazy secrets
2025-04-13 16:20:28 +02:00

10 lines
195 B
Python

SECRETS = secret_loader.SecretLoader()
import secret_loader
def llm_api_key():
return SECRETS.load_or_fail('LLM_API_KEY')
def gitea_token():
return SECRETS.load_or_fail('GITEA_TOKEN')