Comments (7)
We found the problem, the new version has a bug in the custom URL, and we will fix this soon
from immersive-translate.
I didn't have a problem here, so let's take a look at the specific error message. Post the openai configuration in the developer settings, and let's give it a try. Or try resetting your settings
from immersive-translate.
Thank you so much for such a quick response.
I've tried to reset OpenAI settings - nothing changed, still the same error.
{
"targetLanguage": "en",
"updatedAt": "2024-04-02T11:35:45.674Z",
"translationService": "openai",
"translationServices": {
"openai": {
"provider": "custom",
"model": "gpt-3.5-turbo",
"APIKEY": " ",
"maxTextLengthPerRequest": "4000",
"maxTextGroupLengthPerRequest": "30",
"limit": "1",
"apiUrl": "http://127.0.0.1:1337/v1/chat/completions?provider=OpenaiChat",
"systemPrompt": "You are a professional, authentic translation engine, only returns translations, without such a phrase as \"The text you provided appears to be in Chinese. Here is the English translation:\" or \"Here is the English translation of the text:\" or \"The text you provided appears to be a passage from a novel or a story. Here is the English translation:\"",
"prompt": "Translate the following text from {{from}} to {{to}}:"
},
"deepl": {
"authKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"gemini": {
"APIKEY": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"maxTextGroupLengthPerRequest": "10",
"limit": "1",
"apiUrl": "https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent?key={key}"
},
"custom": {
"url": ""
},
"niu": {
"APIKEY": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"claude": {
"APIKEY": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
"translationLanguagePattern": {
"excludeMatches": [
"en",
"ru",
"uk"
],
"matches": []
},
"translationTheme": "solidBorder",
"rules": [
{
"matches": "www.kdxs.net",
"selectors": [
"#content"
],
"excludeSelectors": [
".navbar"
]
},
{
"matches": "www.69shu.pro",
"selectors": [
".txtnav"
]
}
],
"translationUrlPattern": {
"matches": [
"www.kdxs.net",
"www.x23us.cc",
"www.roulanxs.com"
],
"excludeMatches": []
},
"generalRule": {
"additionalExcludeSelectors": [
"ul.gt_prefs_translator_div_li > :not(li:first-child)",
"#liuchan-window > .liuchan-container > *"
],
"blockMinTextCount": 0,
"blockMinWordCount": 0,
"mouseHoverHoldKey": "Off",
"subtitleRule.add": {
"showQuickButton": false
},
"lineBreakMaxTextCount": 0,
"paragraphMinTextCount": 1,
"paragraphMinWordCount": 1
},
"translationThemePatterns": {
"solidBorder": {
"borderRadius": "8",
"zoom": "110"
}
},
"beta": true,
"translationMode": "dual",
"isChangedAlwaysTranslatedUrls": true,
"enableInputTranslation": false,
"sourceLanguageUrlPattern": {
"en": {
"matches": [
"https://www.example.com/"
],
"excludeMatches": []
}
},
"pcFloatBall": {
"enable": false,
"blockUrls": [
"*immersivetranslate.com/preview"
],
"clickType": "translate",
"afterInstalledAt": "2023-10-28",
"isPc": true
},
"translationServiceChangedbyUserAt": "2024-04-02T11:29:44.268Z",
"enableInputTranslationWithoutTriggerKey": false,
"immediateTranslationTextCount": 4999
}
from immersive-translate.
I do not even see any requests from IT to my server (http://127.0.0.1:1337/v1/chat/completions?provider=OpenaiChat).
from immersive-translate.
Thanks a lot!
from immersive-translate.
Thanks a lot!
1.4.2 has been updated and fixed.
https://addons.mozilla.org/zh-CN/firefox/addon/immersive-translate-beta/
from immersive-translate.
Thank you very much! Now it works.
from immersive-translate.
Related Issues (20)
- 增加自定義是否過濾不雅字 HOT 1
- [Bug]: 点击自动开启双语字幕,bilibili视频未成功显示双语字幕 HOT 4
- 中華民國總統賴清德的英文姓氏(Lai)都會被翻譯為黎智英 HOT 2
- 翻译一些长网页的时候卡顿 HOT 6
- 影片中字幕如果是簡體中文就不會翻譯成繁體中文,也無法雙語顯示,字幕如果是英文就都可以正常顯示,麻煩確認一下問題。 HOT 1
- [Bug]: 偶发性出现翻译英文时会更改原文内容,并显示在译文处 HOT 1
- 希望Edit User Rules的交互能更友善一点 HOT 1
- [Bug]: 浏览长网页并翻译,在请求译文时整个电脑变得很卡,鼠标都变卡了 打开控制台显示大量warning HOT 13
- [Bug]: 折叠框内英文内容被生成的中文压缩 HOT 3
- [Bug]: 在线pdf翻译无法显示,加载后白屏 HOT 1
- 【快捷键】关于翻译快捷键的问题讨论 HOT 5
- 翻译双语字幕 srt 时可以将中英文合并放在同一序号/时间下吗? HOT 2
- 能否优化页面翻译顺序 HOT 3
- [Bug]: iOS上Safari插件 HOT 1
- [Bug]: OpenAI翻译的文本占位符替换不成功 HOT 5
- 请求支持带有Secret Key& API Key 授权的大模型API服务(如最近免费的百度ERNIE-Speed) HOT 1
- 【AI专家专楼】请求更多的 AI 专家? HOT 7
- DeepLX 的簡轉繁功能
- chrome 加载内容为 XML 时,出现异常 HOT 2
- 增加DeepL的第三方中转支持(类似OpenAI/Gemini/Claude支持自定义中转服务器URL)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immersive-translate.