ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] grok-2-image 模型报错
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 📦 部署方式
Docker
### 📌 软件版本
2.15.8
### 💻 系统环境
Other Linux
### 📌 系统版本
6.1.0-9-amd64
### 🌐 浏览器
Chrome
### 📌 浏览器版本
134.0.6998.118
### 🐛 问题描述
安装方式及环境说明:
使用yidadaa/chatgpt-next-web:latest 新装的 Docker,版本号应该是2.16,但是安装好运行起来之后,还是显示2.15.8,并且提示有更新2.16.。
问题:
模型grok-2-vision可以正常使用,但是切换到 模型 grok-2-image-1212 之后就提示错误
`{
"code": "Some requested entity was not found",
"error": "The model grok-2-image-1212 does not exist or your team XXXX does not have access to it. Please ensure you're using the correct API key. If you believe this is a mistake, please contact support and quote your team ID and the model name."
}`
以验证模型可用,相同的key在python中调用成功
```
client = OpenAI(base_url="https://api.x.ai/v1", api_key=XAI_API_KEY)
response = client.images.generate(model="grok-2-image-1212",prompt="A cat in a tree",n=4)
for image in response.data:
print(image.url)
```
### 📷 复现步骤
_No response_
### 🚦 期望结果
_No response_
### 📝 补充信息
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.