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

[Bug] {{Azure API 会显示 "the number of characters exceeds limit",输出结果只有几个字}} #1373

Open
3 of 4 tasks
atmomomo opened this issue Mar 13, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@atmomomo
Copy link

atmomomo commented Mar 13, 2024

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the troubleshooting section in the 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 version

0.3.33

系统/浏览器版本 System/Browser version

Windows 10

复现步骤 Reproduce step

Azure 模式即会出现"the number of characters exceeds limit",错误信息。输出结果只有几个字(不完整)。

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

Azure 模式即会出现"the number of characters exceeds limit",错误信息。输出结果只有几个字(不完整)。
PixPin_2024-03-13_12-00-41

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

完整输出信息。

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

  • 应该不是 Azure 的问题,因为在其它软件用 Azure OpenAI API 都完全正常。
  • 而且是最新版本才出现的,之前一直很正常。
  • 在 Openai-translator 中使用其它引擎(例如 groq )也正常。

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

  • 我愿意提供 PR! I'm willing to submit a PR!
@atmomomo atmomomo added the bug Something isn't working label Mar 13, 2024
@kevingekun
Copy link

遇到相同的问题,回退到 0.3.24 版本正常了

@JasJia
Copy link

JasJia commented Mar 31, 2024

遇到相同问题,先回退版本,之后再看看有没有更新。

@leibin1204
Copy link

我也遇到了这个问题。

@JasJia
Copy link

JasJia commented Apr 4, 2024

0.3.38版本已经修复,谢谢 Yetong!

@prettybot
Copy link

0.3.41还有这个问题

@yetone
Copy link
Collaborator

yetone commented Apr 21, 2024

最新版支持为 Azure 设置 max tokens 了,或许能够解决这一问题 不知道为啥 Windows Defender 会误报毒(猜测是源代码里包含了 Azure tokens 这两个关键字) 😅,回滚了

@JasJia
Copy link

JasJia commented May 6, 2024

0.3.41还有这个问题

是的,感觉只能回到 0.3.38版本使用

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

6 participants