add custom OpenAI compatible API support#75
add custom OpenAI compatible API support#75raniaamina wants to merge 4 commits intopescheckit:mainfrom
Conversation
|
Thanks for the contribution @raniaamina! I appreciate the effort, but we prefer to keep the codebase focused on concrete implementations rather than generic templates. The "custom" provider is essentially a catch-all that doesn't add specific value. Alternative approach:
Current workaround: Which specific provider are you trying to use? We can discuss adding official support for it. |
|
Thank you for respons, actually the background of this PR is when i use this tool with LM Studio with some model and z.ai API. At that time i don't know that deepseek provider can use custom BASE API URL and select the model used. So i think, 'maybe' there are also people out there has same issue with me, that's why i try to make option for generic custom API provider that compatible with OpenAI API more recognizeable by users. But, of course if it seem not too important or necessary, no problem to reject it. :") |
|
@raniaamina Thanks for the PR! We've implemented this in #76. Added gpt-po-translator --provider openai_compatible \
--openai-compatible-key YOUR_KEY \
--openai-compatible-base-url http://localhost:1234/v1 \
--folder ./localesOld Fixed in version |
|
Great! Thanks for giving attention about this issue:") |
Hi, i add option for custom OpenAI Comptible API, this will help user with other provider that not supported before.
Thanks.