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

token 表不需要初始化么? #6

Open
wentixiaogege opened this issue Jun 28, 2023 · 4 comments
Open

token 表不需要初始化么? #6

wentixiaogege opened this issue Jun 28, 2023 · 4 comments

Comments

@wentixiaogege
Copy link

看到server api
const chat = await (0, node_fetch_1.default)(${tokenInfo.host}/v1/chat/completions, {
,应该是读取的
'https://api.openai.com/v1/chat/completions',
,但是token表没有初始化???

@wentixiaogege
Copy link
Author

还有一个问题,这个支持读取,chatglm这种自己部署的模型么?

@wentixiaogege
Copy link
Author

看到server api const chat = await (0, node_fetch_1.default)(${tokenInfo.host}/v1/chat/completions, { ,应该是读取的 'https://api.openai.com/v1/chat/completions', ,但是token表没有初始化???

这个是需要花钱的吧,得通过admin在后台配置。

@wentixiaogege
Copy link
Author

还有一个问题,这个支持读取,chatglm这种自己部署的模型么?

这个还是得求一个答案啊

@Sunhaha520
Copy link

朋友解决了吗?我配置以后只能第一次正常,之后返回错误,自动把自定义的taken禁用了

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

No branches or pull requests

2 participants