ollama-logseq
ollama-logseq copied to clipboard
Feature Request: Add support for Open WebUI
Hello!
Can you please add another config item apiKey
for Open WebUI? It basically forwards the backend ollama API but takes an Authorization: Bearer sk-api-key-here
header. Maybe here?
Open WebUi's docs about continue.dev integration.
NOTE
http:// prefix seems to be hardcoded, maybe let that part be specified in the plugin's settings, the URL? If you run open webui behind nginx or something with an SSL cert ...
NOTE2
With your current plugin's setup, after removing the hardcoded http://
, the endpoint would be https://my.openwebui.com/ollama
, since you're appending /api/generate
Thanks!