forked from anthropics/claude-quickstarts
-
Couldn't load subscription status.
- Fork 3
Synchronize fork with Anthropic base for minor and patch updates #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jrcasso
wants to merge
24
commits into
BASI-LABS:main
Choose a base branch
from
anthropics:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…ockerfile (#158) Signed-off-by: Tynan Daly <[email protected]>
* adding scaling/padding recommendations * rewording
* add stop/interrupt capability * correctly update session_state.tools
minor fix
* docs: Add PR template and contributing guidelines │ │ │ │ Added GitHub pull request template and contributing guidelines for the │ │ computer-use-demo project to improve contributor experience and standardize │ │ development practices. * Added additional option * Made suggested fixes
* updated computer use demo for new model/tools * updated sdk * type
Ensure the tool version selected via the radio button is properly used in API calls instead of defaulting to the model config value. This allows custom model strings to specify the computer use beta version they require. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
* fix: respect user-selected tool version in computer use demo Ensure the tool version selected via the radio button is properly used in API calls instead of defaulting to the model config value. This allows custom model strings to specify the computer use beta version they require. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * pinned streamlit to 1.41.0 --------- Co-authored-by: Claude <[email protected]>
* fix: respect user-selected tool version in computer use demo Ensure the tool version selected via the radio button is properly used in API calls instead of defaulting to the model config value. This allows custom model strings to specify the computer use beta version they require. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * WIP: updating conmputer use quickstart with new tool * Set claude-sonnet-4-20250514 as default model and add claude-opus-4-20250514 - Updated default model from claude-opus-4@20250508 to claude-sonnet-4-20250514 - Added claude-sonnet-4-20250514 and claude-opus-4-20250514 to model configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Rename OPUS_4 to CLAUDE_4 model configuration - Updated model config variable name to be more generic - Reflects that it's used for both Opus and Sonnet Claude 4 models 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Update README with Claude 4 model information - Updated note to mention Claude 4 Sonnet as the new default model - Added Claude 4 Opus (claude-opus-4-20250514) to available models - Updated model list to include both Claude 4 Sonnet and Opus variants 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Fix edit tool API type to avoid unsupported beta header - Reverted EditTool20241022 from text_editor_20250429 to text_editor_20241022 - The computer-use-2025-04-29 beta header doesn't exist in the API yet - This fixes the 400 error: "Unexpected value(s) computer-use-2025-04-29" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Fix CLAUDE_4 to use supported tool version - Changed CLAUDE_4 from computer_use_20250429 to computer_use_20250124 - The 20250429 version uses unsupported computer-use-2025-04-29 beta header - This fixes the 400 BadRequestError for Claude 4 models 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Restore 20250429 tool versions for upcoming API release - Reverted CLAUDE_4 to use computer_use_20250429 tool version - Restored EditTool20241022 to use text_editor_20250429 - These versions will be supported in the new API release 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Add comprehensive branch summary documentation Documents all changes made in the updated-str-edit-tool branch: ## New str_replace_based_edit_tool - Replaces str_replace_editor with streamlined 4-command interface - Removes undo_edit command for simplified UX - 277+ lines of new tool implementation ## Claude 4 Model Updates - claude-sonnet-4-20250514 now default (was claude-opus-4@20250508) - Added claude-opus-4-20250514 support - Renamed OPUS_4 → CLAUDE_4 configuration ## API Modernization - Updated bash tool to 20250124 version - Prepared edit tool for 20250429 API release - Fixed beta header compatibility issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * removed * Update CLAUDE_4 model to use computer-use-2025-01-24 beta header Changed tool_version from "computer_use_20250429" to "computer_use_20250124" to use the computer-use-2025-01-24 beta header instead of computer-use-2025-04-29. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
* add server tools * notebook
- Fix test_message_params.py: Update tests to handle agent.run() returning list format - Fix mcp_tool.py: Add missing MCPConnection import - Fix agent.py: Properly merge extra_headers to avoid conflicts with beta headers These fixes resolve pyright type errors and ruff linting issues that were causing CI failures on PR #293. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
* Update naming conventions: Anthropic API → Claude API - Replace "Anthropic API" with "Claude API" across documentation - Update "Anthropic Console" to "Claude Console" - Change console.anthropic.com URLs to platform.claude.com - Update docs.anthropic.com URLs to docs.claude.com - Maintain ANTHROPIC_API_KEY environment variable unchanged - Preserve "Anthropic" when referring to the company 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Fix CI configuration to properly isolate test workflows - Update tests.yaml to only check computer-use-demo files - Add explicit src and working-directory parameters to ruff and pyright - Create separate tests-agents.yaml for agents module testing - This prevents PR #293 from failing due to unrelated test failures The issue was that the CI was running tests on all files in the repo when triggered by changes to computer-use-demo, causing failures from pre-existing issues in the agents module that are unrelated to the naming convention updates in PR #293. * Fix CI workflow path configurations - Remove working-directory defaults and use explicit paths instead - Fix ruff src paths to use correct relative paths - Update pip install and test execution to use proper directory navigation - This should resolve the import errors and path issues in CI * Revert workflow workarounds to apply proper fix Reverting: - 78353d4 Fix CI workflow path configurations - 92ab730 Fix CI configuration to properly isolate test workflows These were workarounds. The proper fix is to add src parameter to ruff in tests.yaml to scope it to computer-use-demo directory only. * Fix CI checks by scoping ruff to computer-use-demo and fixing type issues - Add src parameter to ruff-action to only check computer-use-demo directory - Fix pyright errors in loop.py by using .get() and proper type casting - No logic changes, only type safety improvements * Fix pyright configuration and type errors in loop.py - Add working-directory parameter to pyright-action to scope checks to computer-use-demo - Fix type errors in loop.py by using proper isinstance checks and type casting - Use .get() for safe dictionary access and cast to BetaToolUseBlockParam - Replace .pop() with conditional del for cache_control removal * Revert platform.claude.com URLs to console.anthropic.com Per team request to hold off on the console URL migration until 12/16. Keeping all other naming convention updates (Claude API, Claude Console text) but reverting URLs back to console.anthropic.com. * Update branding from "Anthropic Quickstarts" to "Claude Quickstarts" Updated repository documentation to use "Claude Quickstarts" instead of "Anthropic Quickstarts" for consistency with Claude product branding. Repository URLs remain unchanged. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
- Updated "Claude Cookbook" to "Claude Cookbooks" - Updated link from anthropic-cookbook to claude-cookbooks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
* Fix claude-sonnet-4-5-20250929 tool compatibility - Add EditTool20250728 with text_editor_20250728 API type and str_replace_based_edit_tool name - Update computer_use_20250124 to use EditTool20250728 instead of EditTool20250124 - Add CLAUDE_4_5 model configuration using computer_use_20250124 tool version - Update model mapping to use CLAUDE_4_5 for claude-sonnet-4-5-20250929 - Set claude-sonnet-4-5-20250929 as the default model This resolves the "does not support tool types: text_editor_20250124" error by using the official tool types supported by the model: bash_20250124, computer_20250124, text_editor_20250728. Uses official computer_use_20250124 tool version instead of inventing a new one. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Update README to reflect Claude 4.5 Sonnet as default model Updates the default model reference from claude-sonnet-4-20250514 to claude-sonnet-4-5-20250929 in the README note section. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * remove unused import --------- Co-authored-by: Claude <[email protected]>
* feat: add Claude Haiku 4.5 model support across all demos - Add HAIKU_4_5 model configuration to Computer Use Demo - Add provider-specific model strings for Bedrock and Vertex - Update model dropdowns in Customer Support and Financial Data Analyst - Set Claude Haiku 4.5 as default in Customer Support Agent - Document available models in Agents module - Update README with Claude 4.5 Haiku availability Model IDs: - Anthropic API: claude-haiku-4-5-20251001 - AWS Bedrock: anthropic.claude-haiku-4-5-20251001-v1:0 - Google Vertex: claude-haiku-4-5@20251001 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * docs: update Claude model naming conventions in README Update model naming to follow proper conventions: - Claude 4+ models: Claude [model] [version] (e.g., Claude Sonnet 4.5) - Pre-4 models: Claude [version] [model] (e.g., Claude 3.5 Sonnet) This ensures consistency with Anthropic's official naming standards. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
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.
See release notes in the HEAD repository. Basically, caching, money saving changes, improved error handling, and retry logic.