Skip to content

添加Azure gpt-4.1 测试失败 #2235

@musicking

Description

@musicking

例行检查

  • [x ] 我已确认目前没有类似 issue
  • [x ] 我已确认我已升级到最新版本
  • [x ] 我已完整查看过项目 README,尤其是常见问题部分
  • [x ] 我理解并愿意跟进此 issue,协助测试和提供反馈
  • [x ] 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

Image

测试日志:[INFO] 2025/04/15 - 13:21:13 | controller/channel-test.go:131 [testChannel] {"messages":[{"role":"user","content":"Output only your specific model name with no additional text."}],"model":"gpt-4.1"}
[GIN] 2025/04/15 - 13:21:13 | 2025041513211369026355658360001 | 200 | 269.143929ms | 0.0.0.0 | GET /api/channel/test/6?model=undefined
[INFO] 2025/04/15 - 13:21:13 | 2025041513211369026355658360001 | model/log.go:51 [recordLogHelper] record log: &{Id:158 UserId:0 CreatedAt:1744694473 Type:5 Content:渠道 AzureOpenAI-EAST2 测试失败,错误:http status code: 404, error message: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again. Username: TokenName: ModelName:gpt-4.1 Quota:0 PromptTokens:0 CompletionTokens:0 ChannelId:6 RequestId:2025041513211369026355658360001 ElapsedTime:268 IsStream:false SystemPromptReset:false}

该模型已经部署,并且可以通过openai sdk测试成功

Image

Image

复现步骤

预期结果

相关截图
如果没有的话,请删除此节。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions