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] 添加openai模型报错,‘str’ object has no attribute ‘model_dump’ #63

Closed
jwdstef opened this issue Apr 15, 2024 · 2 comments

Comments

@jwdstef
Copy link

jwdstef commented Apr 15, 2024

联系方式

jwd1986@163.com

MaxKB 版本

v1.0.0

问题描述

通过docker安装成功后,登录系统,然后添加模型,报错:校验失败,请检查参数是否正确: ‘str’ object has no attribute ‘model_dump’
image

docker日志如下:
image

重现步骤

添加openai模型就会出现

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

@jwdstef jwdstef changed the title [BUG] [BUG] 添加openai模型报错,‘str’ object has no attribute ‘model_dump’ Apr 15, 2024
@baixin513
Copy link
Contributor

感谢反馈,API 域名需要加上/v1 试一下。

@jwdstef
Copy link
Author

jwdstef commented Apr 15, 2024

感谢已经可以了

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