Repository navigation
docs: use claude-sonnet-5-5 and gemini-3.8-flash in the model examples - #333
Open
pcbeingused333 wants to merge 1 commit into
Open
pcbeingused333 wants to merge 1 commit into
pcbeingused333 wants to merge 1 commit into
Conversation
The docs and docstrings name claude-sonnet-4-5 as the example Anthropic model, which Anthropic retires on 2026-11-30, and google/gemini-2.5-flash as the Google example. Use claude-sonnet-5-5 and gemini-3.8-flash. pkg-r/man/QueryChat.Rd is updated by hand to match the roxygen comment in R/QueryChat.R. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
The docs and docstrings use
claude-sonnet-4-5as the example Anthropic model. Anthropic retiresclaude-sonnet-4-5-20250929on 2026-11-30 and listsclaude-sonnet-5-5as the replacement, so a reader who copies the example would hit a model-not-found error after that date. The Python docstring also namesgoogle/gemini-2.5-flashas the Google example, which new Gemini API keys can no longer use.claude-sonnet-4-5is nowclaude-sonnet-5-5inpkg-py/docs/models.qmd,pkg-r/vignettes/models.Rmd,pkg-r/vignettes/build.Rmd, theQueryChat$new()example inpkg-r/R/QueryChat.Rand the matchingpkg-r/man/QueryChat.Rd, and theclientdocstring inpkg-py/src/querychat/_shiny.py.google/gemini-2.5-flashis nowgoogle/gemini-3.8-flashin that docstring.Examples and docstrings only, no code change.
QueryChat.Rdis edited by hand to match the roxygen comment, so a regeneratedman/gives the same file. Nothing was run against a provider.This change was made with Claude Code.
🤖 Generated with Claude Code