You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Pass down base URL and API key to completion handler (#1002)
* Pass down base URL and API key to completion handler
In order to make Ollama work with API Keys, I needed to change the
completion handler to take a base URL and also leverage a given API key
(if available).
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Co-Authored-by: Alejandro Ponce de Leon <aponcedeleonch@stacklok.com>
* fix unit tests and formatting
* fix integration tests
* Pass API key to ollama calls
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
* Handle optional authorization header in ollama endpoints.
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
---------
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Co-authored-by: Alejandro Ponce de Leon <aponcedeleonch@stacklok.com>
0 commit comments