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] {{TypeError: undefined is not an object (evaluating 'apiKeys.split')}}

Eridium1 opened this issue · comments

commented

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

0.3.1

系统版本 | System version

macOS 13.2.1

Bob version

Bob 1.5.0

复现步骤 | Reproduce step

image

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

请问出现 TypeError: undefined is not an object (evaluating 'apiKeys.split') 应该怎么解决

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

解决: TypeError: undefined is not an object (evaluating 'apiKeys.split')

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

No response

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

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

You can try to solve this problem by generating a new API key.

Resolved 4f87028

v0.3.2 会检查用户是否正确填写了 API Keys,并在未填写时给出报错