gnehs / subtitle-translator-electron

↔️ Translate subtitle using ChatGPT
1.58k stars 98 forks source link

[Bug] When using Ollama as a local LLM API provider, the output is empty. #111

Closed zhoukuncheng closed 4 months ago

zhoukuncheng commented 4 months ago

Which method you use?

Provide your subtitle file

[Up to 21°C] Unnamed Memory - 02 (CR 1920x1080 AVC AAC MKV) [503CA3AB].zip

Target language

简体中文

Additional notes

Screenshot image image

Describe the bug

The transaction output is empty, but the output tokens are increasing normally.

To Reproduce

gnehs commented 4 months ago

We currently only support the OpenAI API.

gnehs commented 4 months ago

We added a Compatibility Mode in version 1.5.0. You can try it out.

zhoukuncheng commented 4 months ago

Thank you, it's working now.

image