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

请求渠道A的模型,却调用了渠道B的模型,这两个模型名称大小写不同 #2039

Open
5 tasks done
Yuyuyang opened this issue Jan 17, 2025 · 0 comments
Open
5 tasks done
Labels
bug Something isn't working

Comments

@Yuyuyang
Copy link

例行检查

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

问题描述
当渠道A失效时,请求渠道A中的某个模型会自动被重定向为请求渠道B中的非同名模型(大小写不同)。

复现步骤
新建两个渠道:

  1. 官方OpenAI渠道:支持gpt-4o模型,不进行模型重命名(重定向)
  2. Github Models渠道:支持gpt-4o模型,模型重定向为"Gpt-4o"
    当官方渠道失效时,请求gpt-4o模型会自动被转为请求Github Models渠道的gpt-4o模型。并且,进一步的:
  3. 删除官方OpenAI渠道,请求gpt-4o模型仍然会被重定向为请求Github Models渠道的gpt-4o模型。

预期结果
当官方渠道失效时,应该直接返回错误,而不是进行模型重定向。
模型名应该对大小写敏感。

@Yuyuyang Yuyuyang added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant