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

改善批量添加模型名的体验 #233

Open
5 tasks done
nb5p opened this issue May 27, 2024 · 4 comments
Open
5 tasks done

改善批量添加模型名的体验 #233

nb5p opened this issue May 27, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@nb5p
Copy link

nb5p commented May 27, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,已确定现有版本无法满足需求
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述
希望允许模型名的输入框可以通过粘贴特定格式的文本,批量进行添加。比如逗号分隔的模型名
应用场景
快速添加模型,像是 OpenRouter Deepinfra 这类网站的模型名特别长,每次添加的时候,都要一个一个的复制和回车,很不方便。
如果可以,希望提供所有渠道的配置信息导入和导出结构化的文本功能,比如 YAML 或 JSON 格式,方便在文本编辑器中维护渠道列表的信息及其支持的模型名

@nb5p nb5p added the enhancement New feature or request label May 27, 2024
@MartialBE
Copy link
Owner

OpenRouter是可以直接通过api获取到模型列表的。不用自己一个个填。

只要他们的模型列表是openai的接口形式。都可以在 自定义渠道 中 获取渠道模型列表 中一次性填入他们支持的渠道

@nb5p
Copy link
Author

nb5p commented May 28, 2024

那后面的渠道信息导入和导出的建议可以考虑吗?如果不考虑可以直接关闭

@nb5p
Copy link
Author

nb5p commented May 28, 2024

前一个需求还是希望做一下,刚在整理的时候发现有些中转站只能拉取到 OpenAI 家的模型名,像是已经转成 OpenAI 的其他模型,比如 Gemini 之类的不在/v1/models里。还有 TogeterAI 的 /v1/models 格式是[{},{},...],而非 OpenAI 的 {"object":"list","data":[{},{},...]},这类模型名列表都需要人工维护。

@MartialBE
Copy link
Owner

不知道 mui 这个控件能否支持这样的操作。
暂时没有精力研究,如果有人可以实现 希望可以帮忙PR。

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

No branches or pull requests

2 participants