Skip to content

fix: update deprecated models in 03_models.ipynb#112

Open
gn00295120 wants to merge 3 commits intoanthropics:masterfrom
gn00295120:fix/update-deprecated-models-99
Open

fix: update deprecated models in 03_models.ipynb#112
gn00295120 wants to merge 3 commits intoanthropics:masterfrom
gn00295120:fix/update-deprecated-models-99

Conversation

@gn00295120
Copy link

@gn00295120 gn00295120 commented Jan 15, 2026

Fixes #99

Updates deprecated Claude model versions in the 03_models.ipynb notebook.

Changes

  • Replaced deprecated models (claude-3-opus-20240229, claude-3-sonnet-20240229) with current versions
  • Added claude-3-5-sonnet-20241022 (latest version)
  • Added deprecation notice with link to model comparison table

Lucas Wanglucas_wang@lucas-futures.com

gn00295120 and others added 3 commits January 15, 2026 11:42
Added actual code examples for the Ruby and C# test cases mentioned in
the 'Let's add in two new test cases' step. Previously, these were only
shown in screenshots, making it difficult for students to follow along.

Changes:
- Added Ruby code example (Person class with birthday method)
- Added C# code example (simple chicken count program)
- Students can now copy-paste these examples into the workbench

Fixes anthropics#96

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixed duplicate cell_type tags and added language identifiers to code blocks
for better syntax highlighting in the workbench cookbook.

Changes:
- Removed duplicate <cell_type>markdown</cell_type> tags
- Added csharp language tags to code blocks
- Improves rendering and syntax highlighting

Fixes formatting issues in PR anthropics#111

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixes anthropics#99

## Changes

### Updated Model Versions
- Replaced deprecated models with current versions:
  - Removed: claude-3-opus-20240229 (deprecated)
  - Removed: claude-3-sonnet-20240229 (deprecated)
  - Added: claude-3-5-sonnet-20241022 (latest)
  - Kept: claude-3-5-sonnet-20240620 (still available)
  - Kept: claude-3-haiku-20240307 (still available)

### Added Deprecation Notice
- Added markdown note explaining that model versions are updated periodically
- Included link to model comparison table for current versions
- Helps users understand that models may become deprecated over time

## Impact
- Notebook now uses currently available models
- Users can run examples without errors
- Clear guidance on checking for latest model versions

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings January 15, 2026 04:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates deprecated Claude model versions in the notebooks to ensure compatibility with current API offerings. The changes replace outdated model identifiers with newer versions and add documentation about model deprecation.

Changes:

  • Updated Claude model versions from deprecated 2024-02 versions to current 2024-10 and 2024-06 versions
  • Added deprecation notice with reference to official model comparison documentation
  • Included expanded test case examples in workbench evaluations notebook

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
anthropic_api_fundamentals/03_models.ipynb Updated model version strings and added deprecation notice cell
prompt_evaluations/02_workbench_evals/02_workbench_evals.ipynb Reformatted markdown cell with additional Ruby and C# code examples
Comments suppressed due to low confidence (1)

prompt_evaluations/02_workbench_evals/02_workbench_evals.ipynb:1

  • The markdown cell source contains an invalid <cell_type>markdown</cell_type> tag at the beginning and end. Jupyter notebook markdown cells should not have these XML-like tags in the source content. Remove both tags to ensure proper rendering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

03_models.ipynb

2 participants