We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用openAI翻译时往往需要更多时间,但是插件貌似等待的时间很短,故频繁发生翻译超时的问题
建议超时时长可以在插件配置中自己设置
No response
The text was updated successfully, but these errors were encountered:
OpenAI 本身的响应就很慢,如果是普通翻译的话,插件是等待1分钟,这个时间应该足够了吧?如果不够,可以修改 IDE 的系统环境变量 idea.connection.timeout (默认 10000,单位毫秒)和 idea.read.timeout (默认 60000,单位毫秒)来修改这个时间。但如果是文档翻译,目前就很难处理了,文档翻译只给 3 秒,因为这里的操作会阻塞 UI ,3 秒已经很多了,不能再给更多了,这点还需要进行优化,但限制于平台,比较难搞,需要时间。。。
idea.connection.timeout
idea.read.timeout
Sorry, something went wrong.
@YiiGuxing 😁对,超时的就是文档翻译,很快就超时了,但是3秒对openAi翻译还是不够。那就后面等大佬优化吧,感谢👍🏻
No branches or pull requests
需求/建议描述
使用openAI翻译时往往需要更多时间,但是插件貌似等待的时间很短,故频繁发生翻译超时的问题
建议的解决方案
建议超时时长可以在插件配置中自己设置
附加信息
No response
The text was updated successfully, but these errors were encountered: