How to Add a Custom DeepSeek Model to Junie CLI Using a Single JSON File
A developer has shared a practical guide for integrating DeepSeek as a custom model in Junie CLI, motivated primarily by cost savings over pricier alternatives like Claude and GPT. The setup requires no wizard or guided configuration — users simply drop a JSON file into the ~/.junie/models/ directory, which Junie automatically detects. The JSON config specifies fields such as the API endpoint, model ID, API key, and an optional faster model for lightweight tasks. DeepSeek's OpenAI-compatible API makes the integration straightforward, using the 'OpenAICompletion' apiType setting. The guide also flags a security concern: the API key is stored in plaintext, and users are advised to set restrictive file permissions as a precaution.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in