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

[Request] 默认ollama模型列表优化 #2181

Closed
jsoncode opened this issue Apr 24, 2024 · 6 comments · Fixed by #2252
Closed

[Request] 默认ollama模型列表优化 #2181

jsoncode opened this issue Apr 24, 2024 · 6 comments · Fixed by #2252
Labels
🌠 Feature Request New feature or request | 特性与建议 released

Comments

@jsoncode
Copy link

jsoncode commented Apr 24, 2024

🥰 需求描述

在ollama模型列表里,对于默认列表,可以直接调用 http://127.0.0.1:11434/api/tags 接口进行显示,这样不用每次新增一个模型,还要在lobe里手动添加,非常麻烦。

🧐 解决方案

通过 http://127.0.0.1:11434/api/tags 接口来获取ollama模型列表

📝 补充信息

No response

@jsoncode jsoncode added the 🌠 Feature Request New feature or request | 特性与建议 label Apr 24, 2024
@lobehubbot
Copy link
Member

👀 @jsoncode

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

In the ollama model list, for the default list, you can directly call the http://127.0.0.1:11434/api/tags interface to display it. This way, you don’t have to add a new model each time, and you have to add it manually in the lobe, which is very troublesome.

🧐 Solution

Obtain the ollama model list through the http://127.0.0.1:11434/api/tags interface

📝 Supplementary information

No response

@arvinxx
Copy link
Contributor

arvinxx commented Apr 24, 2024

这里有个问题。因为其他provider的获取list,是拉到所有可用模型的 list ,而 ollama 这个的全量 list ,应该是他们官网的这个地方:https://ollama.com/library 。但目前没看到这个接口。所以暂时先隐藏了这个按钮。我觉得这个交互的逻辑是不一样的,一个是全量的list,一个是可用的 list

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is a problem here. Because the list obtained by other providers is a list of all available models, and the full list of ollama should be from their official website: https://ollama.com/library. But I haven’t seen this interface yet. So I hide this button for now. I think the logic of this interaction is different. One is the full list and the other is the available list.

@lobehubbot
Copy link
Member

@jsoncode

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 0.150.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants