Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models list and one important thing #1

Open
sebaxakerhtc opened this issue Nov 4, 2024 · 0 comments
Open

Models list and one important thing #1

sebaxakerhtc opened this issue Nov 4, 2024 · 0 comments

Comments

@sebaxakerhtc
Copy link

sebaxakerhtc commented Nov 4, 2024

Hi! It's a good start of the awesome project! Thank you for your work.

When I call /models it gives me only single model from config.yaml, not list of available models on Ollama server.

And other thing:
It's named openwebui-telegram, but work with Ollama api /ollama/api/v1 instead of /api (/api/chat/completions)
Also we can use models/models list directly from openwebui! It will be the best implementation, and know why? Because we can have 1 model in Ollama and 1000 models in openwebui used this one model, but with different settings and SYSTEM prompts.
Why is important? Because I very interested in using of tools, especially for generating images from my selfhosted automatic1111 instance.
Now it works perfect in openwebui with a tool named "image_gen".
I know, of cource we can use directly /images/api/v1/ but it sounds wrong, when we have openwebui as a router to all the things
Anyway, I hope you can implement image generation - it would be nice to have this functional!.

Make your bot the best of the best with full fuctional!

Upd. Created a small PR
Tested and it works like with Ollama, but will be helpful to implement other things.

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant