obsidian-local-gpt icon indicating copy to clipboard operation
obsidian-local-gpt copied to clipboard

[feature request] support open-webui as OpenAI compatible server URL

Open Kisaragi-ng opened this issue 9 months ago • 0 comments

Hello, is it possible for this plugin to support API endpoint from open-webui?

I've been using Obsidian for awhile and keep using OpenAI's API, but now I want to run it using my own LLM instances, I choosed this plugin since I saw there's a form to enter my own Ollama url, and OpenAI compatible url.

from open-webui discussion, there's already 2 discussion, but only me whose trying to make it work for obsidian-local-gpt.

  • https://github.com/open-webui/open-webui/discussions/1349
  • https://github.com/open-webui/open-webui/discussions/2252

This is the configuration that I found and the plugin can fetch my available model:

slash ollama

It does run, but it seems I can't keep the generated text:

https://github.com/open-webui/open-webui/assets/88741696/9dd7f679-91a4-478d-aeb1-d9c75d608c5e

I have obsidian-local-gpt Actions set as default (this happens to be in Obsidian fresh install too, without other plugin installed).

unfortunately I'm not quite sure how to troubleshoot this, nor if I'm capable to make a PR. so if anyone / contributors want to add support for open-webui, I'm willing to lend my instance for testing purposes.

Kisaragi-ng avatar May 16 '24 06:05 Kisaragi-ng