Repository navigation
FIX replace retired Groq and OpenRouter models in .env_example - #3962
Merged
Roman Lutz (romanlutz) merged 1 commit intoNov 7, 2026
Merged
Roman Lutz (romanlutz) merged 1 commit into
Roman Lutz (romanlutz) merged 1 commit into
Conversation
…crets doc llama3-8b-8192 was shut down by Groq on 2025-08-30 and anthropic/claude-3.7-sonnet is retired; point the examples at currently served ids.
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
A maintainer must confirm the replacement model IDs against current Groq and OpenRouter offerings because provider listings and live endpoint support could not be independently verified.
No open issues 🎉
What changed in this PR
Updates PyRIT’s Groq and OpenRouter configuration examples to replace retired model IDs, keeping the environment template and getting-started guide aligned.
Changes:
- Replaces the Groq example with
openai/gpt-oss-20b. - Replaces the OpenRouter example with
anthropic/claude-sonnet-5. - Preserves variable names and leaves existing user configurations and application code unchanged.
| File | Description |
|---|---|
doc/getting_started/populating_secrets.md |
Updates both provider model IDs in setup examples. |
.env_example |
Updates the corresponding Groq and OpenRouter model values. |
Review effort: Balanced
Roman Lutz (romanlutz)
approved these changes
Nov 7, 2026
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.
Description
Two provider examples in
.env_examplepointed at models that no longer work:GROQ_LLAMA_MODEL="llama3-8b-8192": shut down on Groq (deprecations page). Its listed successorllama-3.1-8b-instantwas itself shut down on 2026-08-16, withopenai/gpt-oss-20bas the recommended replacement, so the example now uses that.OPEN_ROUTER_CLAUDE_MODEL="anthropic/claude-3.7-sonnet": retired; replaced withanthropic/claude-sonnet-5, a slug listed on OpenRouter.The same two ids appear as examples in
doc/getting_started/populating_secrets.mdand are updated there too. Variable names are unchanged, so existing user configuration files are not affected. Same pattern as #3776.Tests and Documentation
Example/documentation change only; no code paths change. The old ids no longer appear in either file (
grep -rnE 'llama3-8b-8192|claude-3\.7-sonnet' .env_example doc/getting_started/populating_secrets.mdreturns nothing).This change was prepared with the help of an AI coding assistant (Claude); the model ids were checked against Groq's deprecations page and OpenRouter's model listing.