Skip to content

FIX replace retired Groq and OpenRouter models in .env_example - #3962

Merged
Roman Lutz (romanlutz) merged 1 commit into
microsoft:mainfrom
pcbeingused333:fix/env-example-retired-models
Nov 7, 2026
Merged

Roman Lutz (romanlutz) merged 1 commit into
microsoft:mainfrom
pcbeingused333:fix/env-example-retired-models

Conversation

@pcbeingused333

Copy link
Copy Markdown
Contributor

Description

Two provider examples in .env_example pointed at models that no longer work:

  • GROQ_LLAMA_MODEL="llama3-8b-8192": shut down on Groq (deprecations page). Its listed successor llama-3.1-8b-instant was itself shut down on 2026-08-16, with openai/gpt-oss-20b as the recommended replacement, so the example now uses that.
  • OPEN_ROUTER_CLAUDE_MODEL="anthropic/claude-3.7-sonnet": retired; replaced with anthropic/claude-sonnet-5, a slug listed on OpenRouter.

The same two ids appear as examples in doc/getting_started/populating_secrets.md and 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.md returns 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.

…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.
Copilot AI balanced review requested due to automatic review settings November 4, 2026 17:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@romanlutz Roman Lutz (romanlutz) self-assigned this Nov 7, 2026
@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Nov 7, 2026
Merged via the queue into microsoft:main with commit 298f27d Nov 7, 2026
65 checks passed
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.

3 participants