Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

healthcheck: report API key status #162

Open
josephjclark opened this issue Jan 28, 2025 · 0 comments
Open

healthcheck: report API key status #162

josephjclark opened this issue Jan 28, 2025 · 0 comments

Comments

@josephjclark
Copy link
Collaborator

josephjclark commented Jan 28, 2025

When we call the healthcheck endpoint, we should report on the status of API keys. Whether they've been set and whether they're responding

We need a function that, on server start, calls some simple diagnostic API on any relevant services (at the time of writing it would be pinecone and openai). We need to find some simple no-op endpoint we can call just to validate the authentication

We should log the result on startup, maybe on the index page, and at the healthcheck endpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant