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

能否调整一下api接口,现在不支持x的grok-beta #290

Open
bosschangpeng opened this issue Nov 27, 2024 · 4 comments
Open

能否调整一下api接口,现在不支持x的grok-beta #290

bosschangpeng opened this issue Nov 27, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@bosschangpeng
Copy link

No description provided.

@Huanshere
Copy link
Owner

grok-beta是支持openai格式的,理论上是可以接入的

@luboyan-hub
Copy link

在这里顺带问下,自己搭建的newapi好像无法调用,不知道哪里出了错,一直失败,但是用nextchat都是正常的

@bosschangpeng
Copy link
Author

grok-beta是支持openai格式的,理论上是可以接入的

grok-beta是支持openai格式的,理论上是可以接入的

不行哦,因为提示不支持回应什么的,然后不能返回http200啥的,不太懂,另外有些兼容openai格式的 api,就算能返回http 200,也不能用,提示不能是none还是啥的,会报错,只能用硅基流动和部分api

@Huanshere Huanshere added the bug Something isn't working label Dec 4, 2024
@Huanshere
Copy link
Owner

我怀疑是openai库请求时的几个参数影响的(response_format, timeout) 尝试在 b06bd48 中修复了

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

3 participants