Skip to content

fix: update claude-3-haiku-20240307 to claude-haiku-4-5 in 04_parameters.ipynb#168

Open
RudrenduPaul wants to merge 1 commit into
anthropics:masterfrom
RudrenduPaul:fix/update-model-ids-04-parameters
Open

fix: update claude-3-haiku-20240307 to claude-haiku-4-5 in 04_parameters.ipynb#168
RudrenduPaul wants to merge 1 commit into
anthropics:masterfrom
RudrenduPaul:fix/update-model-ids-04-parameters

Conversation

@RudrenduPaul

Copy link
Copy Markdown

Summary

  • Replaces all 11 occurrences of the retired dated model ID claude-3-haiku-20240307 in anthropic_api_fundamentals/04_parameters.ipynb with the current non-dated alias claude-haiku-4-5
  • No logic changes — only the model string literal in each API call and the inline markdown examples
  • Students running the notebook will now use the current Haiku model rather than an outdated ID that may produce different or unavailable behavior

What was broken

claude-3-haiku-20240307 is a dated alias for Claude 3 Haiku — a much older model. All course examples now point to the latest Claude Haiku 4.5 via the stable, non-dated alias.

Test plan

  • Run all cells in 04_parameters.ipynb top-to-bottom with a valid API key — all API calls succeed with claude-haiku-4-5
  • Confirm stop_reason, stop_sequence, temperature, and usage.output_tokens cells produce expected output types

Fixes #161

Built by Rudrendu Paul, developed with Claude Code

…ers.ipynb

All 11 occurrences of the retired dated model ID are replaced with the
current non-dated alias. No code logic is changed — only the model
string literal in each API call and the inline documentation examples.

Fixes anthropics#161
@RudrenduPaul
RudrenduPaul force-pushed the fix/update-model-ids-04-parameters branch from 5c3bd8e to 1fe1dac Compare June 21, 2026 10:45
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.

[Content outdated] "Structured Data" lesson teaches prefill + stop sequences, superseded by structured outputs

1 participant