ryanhex53 / gpt-po

command tool for translate po files by using openai api
69 stars 13 forks source link

Support More Models #17

Closed jstzwj closed 1 week ago

jstzwj commented 1 week ago

When I used the model gpt-3.5-turbo-1106, I encountered the following error: error: option '--model ' argument 'gpt-3.5-turbo-1106' is invalid. Allowed choices are gpt-4o, gpt-4-turbo, gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314, gpt-3.5-turbo, gpt-3.5-turbo-0301.

I hope this tool can support more model types, such as the o1 model. Additionally, when using OpenAI-compatible services, I hope the translation tool to work with these models as well, rather than rejecting my model name. For example, the Qwen model and DeepSeek's deepseek-chat. I am using these OpenAI-compatible services because these LLMs are more competitive in terms of pricing.

ryanhex53 commented 1 week ago

Will update this soon

ryanhex53 commented 1 week ago

done in version 1.1.2

jstzwj commented 1 week ago

Thank you for your lightning fast development!