Skip to content

[Feature] Add authentication via header "Authorization: Bearer"#4

Open
marianbasti wants to merge 3 commits into
substratusai:mainfrom
marianbasti:main
Open

[Feature] Add authentication via header "Authorization: Bearer"#4
marianbasti wants to merge 3 commits into
substratusai:mainfrom
marianbasti:main

Conversation

@marianbasti
Copy link
Copy Markdown

No description provided.

@samos123
Copy link
Copy Markdown
Contributor

Thanks for the PR! I am happy to merge this as long as the setting API key is not required. I can do a more thorough review afterwards.

Please also take a look at infinity which may be a better project for your needs: https://github.com/michaelfeil/infinity

@marianbasti
Copy link
Copy Markdown
Author

Thank for the suggested repo! Its got plenty of nice features, but for the moment i was looking for OpenAI compatible one, and yours fits perfectly.

I made the API_KEY optional, enabling the same usage as before if one is not specified.

Cheers!

@samos123
Copy link
Copy Markdown
Contributor

Infinity is OpenAI compatible. KubeAI has switched to infinity.

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

Successfully merging this pull request may close these issues.

2 participants