-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
[Question] lobe-i18n cli run failed? #67
Comments
๐ @xieyezi Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@xieyezi ๅฏ่ฝ้่ฆไฝ ่ฟ่พนๆ้คไธ้ฎ้ข
|
@xieyezi You may need to troubleshoot the problem here
|
Hello, please tell me how to pass in the two environment variables |
ๆ็ดๆฅไฝฟ็จ cliๆนๅผ่ฟ่ก่ฐ็จ๏ผ export OPENAI_PROXY_URL=xxx
export OPENAI_API_KEY=xxx
lobe-i18n md -c ./.i18nrc.js ่ฟๆฏๆ็
ไฝๆฏไป็ถๆ ๆณ่ฐ็จ๏ผๆ็คบๅฆไธ้่ฏฏ๏ผ $ lobe-i18n md -c ./.i18nrc.js
โ Lobe I18N is analyzing your markdown... ๐คฏ๐๐ 15:21:01
โ Running in ๐ 1 Markdown, and translating to zh-CN locales.. 15:21:01
โน ๐ To zh-CN: index.md 15:21:01
โน Current model setting: gpt-3.5-turbo (temperature: 0) } 15:21:01
โโโ ๐ E:\project\incall-fuxi\packages\fuxi\src\portal\index.zh-CN.md
- from en-US to zh-CN [Tokens: 200]
โ 0% [0/1 chunks] โโโโโโโโโโโ
ERROR Translate failed, TypeError: Cannot read properties of undefined (reading 'message') 15:21:03 ไปฅไธๆฏๆ็็ฏๅขไฟกๆฏ๏ผ
|
@xieyezi curl ่ฏ่ฏ ๏ผ |
Thank you for your hard work and dedication in creating such great tools. I encountered a similar issue with lobeChat before, where responses failed. After numerous attempts, I discovered that by simply appending Thank you once again for your strenuous efforts, it's so cool! |
โ @xieyezi This issue is closed, If you have any questions, you can comment and reply. |
๐ง ้ฎ้ขๆ่ฟฐ | Proposed Solution
First of all, thank you very much for providing this tool๏ผ
I'm having some problems now.
This my script:
and this is my
.i18nrc.js
:All the config load normally, but it's failed:
๐ ่กฅๅ ไฟกๆฏ | Additional Information
No response
The text was updated successfully, but these errors were encountered: