chore(examples): bump workload_identity.py to claude-opus-4-7#1520
Open
lucky-verma wants to merge 3 commits into
Open
chore(examples): bump workload_identity.py to claude-opus-4-7#1520lucky-verma wants to merge 3 commits into
lucky-verma wants to merge 3 commits into
Conversation
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.
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.
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.