Generalize DeepSeek provider for any OpenAI-compatible API#76
Merged
pescheck-bram merged 2 commits intomainfrom Feb 16, 2026
Merged
Generalize DeepSeek provider for any OpenAI-compatible API#76pescheck-bram merged 2 commits intomainfrom
pescheck-bram merged 2 commits intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DeepSeek was already using the OpenAI-compatible API format, but users didn't know they could use it for other providers (LM Studio, z.ai, Groq, etc.). This PR makes it explicit and discoverable.
What Changed
OpenAICompatibleProvideropenai_compatibleprovider option alongsidedeepseek--openai-compatible-keyand--openai-compatible-base-urlarguments--deepseek-*arguments still workWhy
Users want to use LM Studio, z.ai, and other OpenAI-compatible APIs but didn't realize they could use the DeepSeek provider. This makes it obvious and well-documented.
Usage
LM Studio:
gpt-po-translator --provider openai_compatible \ --openai-compatible-key dummy \ --openai-compatible-base-url http://localhost:1234/v1 \ --folder ./locales Any OpenAI-compatible API: gpt-po-translator --provider openai_compatible \ --openai-compatible-key YOUR_KEY \ --openai-compatible-base-url https://api.provider.com/v1 \ --folder ./locales DeepSeek (unchanged): gpt-po-translator --provider deepseek \ --deepseek-key sk-xxx \ --folder ./locales Closes #75