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

Add Support for Ollama WebUI Security #721

Merged

Conversation

rience
Copy link
Contributor

@rience rience commented Aug 5, 2024

We're using Ollama through Open WebUI interface that provides security through API keys, generated for individual users. This PR adds support for passing api key to Langchain::LLM::Ollama constructor - if set, it'll add "Authorization" header.

@andreibondarev andreibondarev merged commit 89a2cbf into patterns-ai-core:main Aug 5, 2024
5 checks passed
@andreibondarev
Copy link
Collaborator

@rience Thank you!

@rience rience deleted the ollama-open-webui-support branch August 5, 2024 17:50
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