Add models_deepseek() function for listing available DeepSeek models#918
Open
jcrodriguez1989 wants to merge 2 commits intotidyverse:mainfrom
Open
Add models_deepseek() function for listing available DeepSeek models#918jcrodriguez1989 wants to merge 2 commits intotidyverse:mainfrom
models_deepseek() function for listing available DeepSeek models#918jcrodriguez1989 wants to merge 2 commits intotidyverse:mainfrom
Conversation
hadley
approved these changes
Jan 22, 2026
Member
hadley
left a comment
There was a problem hiding this comment.
Thanks! Can you please add a bullet to the top of NEWS.md? It should briefly describe the change and end with (@yourname, #issuenumber).
Author
|
Done. |
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.
Summary
Adds the
models_deepseek()function to complete the DeepSeek provider implementation, bringing it in line with other providers that havemodels_*()functions.Changes
models_deepseek()that retrieves available models from the DeepSeek APIbase_url,api_key, andcredentialsparameters (consistent with other providers)"can list models"using the commontest_models()helperConsistency
This implementation follows the established pattern used by other providers:
models_openai(),models_google_gemini(), etc.Testing
test_that("can list models", { test_models(models_deepseek) })