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

[BUG] 添加模型时 表单未清空 #378

Closed
wivw0306 opened this issue May 7, 2024 · 1 comment
Closed

[BUG] 添加模型时 表单未清空 #378

wivw0306 opened this issue May 7, 2024 · 1 comment

Comments

@wivw0306
Copy link

wivw0306 commented May 7, 2024

联系方式

No response

MaxKB 版本

v1.1.1

问题描述

1、先随意选中一个厂商,比如选中openai,然后点击添加模型,选中模型,然后点击基础模型下拉,看到的是当前厂商的模型累表。此时无任何问题。
2、当改变选中厂商后,比如这次选中的是ollama,然后点击添加模型,然后点击基础模型下拉,此时将出现问题,看到的是openai的下拉列表。

重现步骤

image

期待的正确结果

改进建议:
1、建议点击基础下拉时,下拉列表必须根据当前所选的厂商 和 必选 模型类型后才能进行下拉显示。

相关日志输出

No response

附加信息

No response

@baixin513
Copy link
Contributor

感谢反馈,添加模型的时候未清空表单,后续版本可以优化一下。

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

No branches or pull requests

2 participants