如果不开启renpy游戏,启动ollama,启动翻译服务器,
会报错:Translator is stopped by the user.
控制台如下:
Apply a translator: CloseAI/qwen:0.5b, translation target: Auto->Chinese
Max turn for chat is set to: 8
Release resources of the translator...
Closing the OpenAI client...
Translator is stopped by the user.
如果开启renpy界面后,启动ollama,启动翻译服务器。
会报错Translator is crashed!
控制台如下:
ERROR:root:Error code: 503
Traceback (most recent call last):
File "local_server\index.py", line 81, in run
File "trans\base.py", line 24, in translate_batch
File "trans\base.py", line 24, in
File "translation_provider\closeapi.py", line 33, in translate
File "trans\openai_api\wraaper.py", line 106, in translate
File "openai_utils_utils.py", line 275, in wrapper
File "openai\resources\chat\completions.py", line 667, in create
File "openai_base_client.py", line 1213, in post
File "openai_base_client.py", line 902, in request
File "openai_base_client.py", line 978, in _request
File "openai_base_client.py", line 1026, in _retry_request
File "openai_base_client.py", line 978, in _request
File "openai_base_client.py", line 1026, in _retry_request
File "openai_base_client.py", line 993, in _request
openai.InternalServerError: Error code: 503
Release resources of the translator...
Closing the OpenAI client...
Translator is crashed!
如果不开启renpy游戏,启动ollama,启动翻译服务器, 会报错:Translator is stopped by the user. 控制台如下:
Apply a translator: CloseAI/qwen:0.5b, translation target: Auto->Chinese Max turn for chat is set to: 8 Release resources of the translator... Closing the OpenAI client... Translator is stopped by the user.
如果开启renpy界面后,启动ollama,启动翻译服务器。 会报错Translator is crashed! 控制台如下:
ERROR:root:Error code: 503 Traceback (most recent call last): File "local_server\index.py", line 81, in run File "trans\base.py", line 24, in translate_batch File "trans\base.py", line 24, in
File "translation_provider\closeapi.py", line 33, in translate
File "trans\openai_api\wraaper.py", line 106, in translate
File "openai_utils_utils.py", line 275, in wrapper
File "openai\resources\chat\completions.py", line 667, in create
File "openai_base_client.py", line 1213, in post
File "openai_base_client.py", line 902, in request
File "openai_base_client.py", line 978, in _request
File "openai_base_client.py", line 1026, in _retry_request
File "openai_base_client.py", line 978, in _request
File "openai_base_client.py", line 1026, in _retry_request
File "openai_base_client.py", line 993, in _request
openai.InternalServerError: Error code: 503
Release resources of the translator...
Closing the OpenAI client...
Translator is crashed!
测试了qwen 0.5b,4b以及qwen2 7b。 都有以上问题 测试了lm-studio的API也是一样。 不知为何