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

new-api、one-api、chatnio对比以及令牌限制可用模型 #332

Open
5 tasks
3377 opened this issue Aug 20, 2024 · 6 comments
Open
5 tasks

new-api、one-api、chatnio对比以及令牌限制可用模型 #332

3377 opened this issue Aug 20, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@3377
Copy link

3377 commented Aug 20, 2024

例行检查

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

功能描述
最近尝试了new-api,one-api,chatnio,体验了一圈下来,最终选择了ONE-HUB,因为是个人使用。但有一些实用功能期望后续可以靠考虑。

  1. 对比one-api
  • 最新的one-api可以指定令牌限制此令牌可以使用哪些模型,还挺实用的。

  • 毕竟虽然是个人使用,但分享给朋友的时候某些模型不想让其使用还是有必要的。

  1. 对比chatnio
    image
  • 里面的模型映射挺好用的,毕竟不用一个个的手写冒号,分号,大括号
  • 这个地方new-api的做法是填入模板,也可以,大大减少了自己去别的地方复制或者手敲的时间。

3.对比new-api

  • 完爆

应用场景

@3377 3377 added the enhancement New feature or request label Aug 20, 2024
@MartialBE
Copy link
Owner

  1. 令牌限制模型这个暂时不会支持
  2. 模型映射这个,需要考虑一下,如果支持你说的这种写法,是一次破坏性更新的,不过确实方便很多

@3377
Copy link
Author

3377 commented Aug 25, 2024

1、用户限制模型呢?不过自用影响不大
2、这个我踩了将近3个小时的坑才知道,这个系统怎么设置别名,也就是映射,居然要重新再模型那里写一遍,你知道蛋疼的是什么吗?写到模型里面去后居然不能复制,我只能F12审查元素复制,再去映射里一个个的去拼接。
综上,我觉得个人使用模型映射是非常重要的一个功能,当前系统的这一块我觉得可以借鉴两个系统的长处。

@MartialBE
Copy link
Owner

用户限制模型,可以用用户组来限制。

@3377
Copy link
Author

3377 commented Aug 25, 2024

这个只能限制渠道,不能限制模型吧~~不过这个功能可以想办法自己弄好。
模型映射后续会弄吗~

@MartialBE
Copy link
Owner

我要考虑一下, 上面说了,如果直接更新到这种写法,是一次破坏性更新。 我要想一下怎么兼容。

@GrayXu
Copy link

GrayXu commented Aug 26, 2024

令牌绑定模型确实挺实用的。我暂时就是把一些模型分离出来单独作为高级别的渠道来作为隔离,但确实有点麻烦。

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

3 participants