Skip to content

chore(examples): bump workload_identity.py to claude-opus-4-7#1520

Open
lucky-verma wants to merge 3 commits into
anthropics:nextfrom
lucky-verma:chore/workload-identity-opus-bump
Open

chore(examples): bump workload_identity.py to claude-opus-4-7#1520
lucky-verma wants to merge 3 commits into
anthropics:nextfrom
lucky-verma:chore/workload-identity-opus-bump

Conversation

@lucky-verma
Copy link
Copy Markdown

examples/workload_identity.py still pins claude-opus-4-5. latest opus per src/anthropic/types/model_param.py is claude-opus-4-7 (4-6 also listed). bumping so copy-paste users land on a current model.

only the model string changes, the federated identity flow itself is untouched. ruff check + format both pass.

xodn348 and others added 3 commits May 7, 2026 22:22
The project migrated from poetry to uv, and CONTRIBUTING.md documents
uv as the package manager. Newer examples (agents.py) already use
`#!/usr/bin/env -S uv run python`. Update the 4 remaining examples
that still referenced poetry.

Co-authored-by: Junhyuk Lee <xodn348@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…nthropics#1473)

The `examples/tools_runner.py` file is the only example still pointing at
`claude-3-5-sonnet-latest`. All sibling examples (messages.py, messages_stream.py,
mcp_tool_runner.py, tools_stream.py, tools_runner_search_tool.py, thinking.py,
images.py, etc.) use `claude-sonnet-4-5-20250929`. Aligning this example so
copy-paste users land on a current model.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The example still pins claude-opus-4-5. Latest opus per
src/anthropic/types/model_param.py is claude-opus-4-7 (4-6 also listed
but 4-7 is current). Bumping so copy-paste users land on a current model.

No logic changes, only the model identifier.
@lucky-verma lucky-verma requested a review from a team as a code owner May 8, 2026 08:52
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