ollama-logseq icon indicating copy to clipboard operation
ollama-logseq copied to clipboard

Feature Request: Add support for Open WebUI

Open working-name opened this issue 6 months ago • 0 comments

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!

working-name avatar Aug 15 '24 22:08 working-name