openai-translator / bob-plugin-openai-translator

基于 ChatGPT API 的文本翻译、文本润色、语法纠错 Bob 插件,让我们一起迎接不需要巴别塔的新时代!Licensed under CC BY-NC-SA 4.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Use Azure OpenAI service got error message "接口未返回结果" in Bob application window

mashihua opened this issue · comments

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the usage instructions section in README in detail.

Please check your network and OpenAI API quota

  • I am sure it is not a network issue or an OpenAI API quota issue.

OpenAI Translator Bob Plugin version

v2.0.0

系统版本 | System version

MacOS 14.1

Bob version

Bob 1.8.1 [148]

复现步骤 | Reproduce step

Configurations for Azure OpenAI have been set in Bob setting, but when opening the translation window and inputting text for translation, an '接口未返回结果' error occurred. It seems like there is an issue with the handleResponse function in main.js.

你看到了什么错误?What errors do you see?

接口未返回结果

你期望看到什么?What did you expect to see?

The application translate success

还有其他的内容吗?Anything else?

No response

你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Can you try 2023-03-15-preview?
image

I have also encountered the same problem when use gpt-3.5-turbo

I have also encountered the same problem when use gpt-3.5-turbo

#99 (comment)

Same issue.