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
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 <[email protected]>
Co-Authored-by: Alejandro Ponce de Leon <[email protected]>
* fix unit tests and formatting
* fix integration tests
* Pass API key to ollama calls
Signed-off-by: Juan Antonio Osorio <[email protected]>
* Handle optional authorization header in ollama endpoints.
Signed-off-by: Juan Antonio Osorio <[email protected]>
---------
Signed-off-by: Juan Antonio Osorio <[email protected]>
Co-authored-by: Alejandro Ponce de Leon <[email protected]>
0 commit comments