Skip to content

docs: use claude-sonnet-5-5 and gemini-3.8-flash in the model examples - #333

Open
pcbeingused333 wants to merge 1 commit into
posit-dev:mainfrom
pcbeingused333:docs/replace-retiring-claude-model
Open

pcbeingused333 wants to merge 1 commit into
posit-dev:mainfrom
pcbeingused333:docs/replace-retiring-claude-model

Conversation

@pcbeingused333

Copy link
Copy Markdown

The docs and docstrings use claude-sonnet-4-5 as the example Anthropic model. Anthropic retires claude-sonnet-4-5-20250929 on 2026-11-30 and lists claude-sonnet-5-5 as the replacement, so a reader who copies the example would hit a model-not-found error after that date. The Python docstring also names google/gemini-2.5-flash as the Google example, which new Gemini API keys can no longer use.

  • claude-sonnet-4-5 is now claude-sonnet-5-5 in pkg-py/docs/models.qmd, pkg-r/vignettes/models.Rmd, pkg-r/vignettes/build.Rmd, the QueryChat$new() example in pkg-r/R/QueryChat.R and the matching pkg-r/man/QueryChat.Rd, and the client docstring in pkg-py/src/querychat/_shiny.py.
  • google/gemini-2.5-flash is now google/gemini-3.8-flash in that docstring.

Examples and docstrings only, no code change. QueryChat.Rd is edited by hand to match the roxygen comment, so a regenerated man/ gives the same file. Nothing was run against a provider.

This change was made with Claude Code.

🤖 Generated with Claude Code

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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant