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

🐞 反馈问题:Azure OpenAI 无法使用 #814

Closed
5 of 6 tasks
ServBayDev opened this issue Feb 7, 2025 · 1 comment
Closed
5 of 6 tasks

🐞 反馈问题:Azure OpenAI 无法使用 #814

ServBayDev opened this issue Feb 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ServBayDev
Copy link

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

升级到新版后,Azure OpenAI 接口无法使用了,报错

💥 Failed, API Error

keyNotFound(CodingKeys(stringValue: "delta", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "choices", intValue: nil), _CodingKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"delta\", intValue: nil) (\"delta\").", underlyingError: nil))

该问题是否可以稳定重现?

可重现

重现步骤

稳定复现

截图

Image

运行日志(zip 文件)

[2025-02-07 17:22:08.339 ● MenuItemView ● 101 ● ℹ️] settingItem ● 打开设置
[2025-02-07 17:22:19.435 ● ServiceConfigurationSecretSectionView ● 121 ● ℹ️] validate() ● CustomOpenAI validate LocalizedStringKey(key: "service.configuration.validation_fail", hasFormatting: false, arguments: [])
[2025-02-07 17:22:24.909 ● EZEventMonitor ● 373 ● ℹ️] -[EZEventMonitor autoGetSelectedText:] ● auto get selected text
[2025-02-07 17:22:24.911 ● EZEventMonitor ● 275 ● ℹ️] -[EZEventMonitor getSelectedText:completion:] ● getSelectedText in App: Console (com.apple.Console)
[2025-02-07 17:22:24.922 ● EZEventMonitor ● 592 ● ℹ️] -[EZEventMonitor shouldForceGetSelectedTextWithAXError:] ● Enable force get selected text: NO

期望结果

不报错

解决方案(可选)

No response

设备型号 && 系统版本

M2 PRO, 15.3

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR 来解决该问题
@ServBayDev ServBayDev added the bug Something isn't working label Feb 7, 2025
Copy link

github-actions bot commented Feb 7, 2025

Hello ServBayDev, Thank you for your first issue contribution 🎉

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

1 participant