Skip to content

chore: add latest model rule to CLAUDE.md - #32164

Merged
mateo-berri merged 7 commits into
litellm_internal_stagingfrom
litellm_latest_model_claude_rule
Jul 5, 2026
Merged

chore: add latest model rule to CLAUDE.md#32164
mateo-berri merged 7 commits into
litellm_internal_stagingfrom
litellm_latest_model_claude_rule

Conversation

@mateo-berri

Copy link
Copy Markdown
Contributor

note: I don't @ the model_prices_and_context_window.json because I don't want to always add that multi-megabyte JSON into every session

@mateo-berri
mateo-berri requested a review from yuneng-berri July 5, 2026 01:16
@greptile-apps

greptile-apps Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a single guidance line to CLAUDE.md reminding Claude to reference the latest model in a given model family when writing or testing code, and to consult model_prices_and_context_window.json or the web to account for knowledge-cutoff staleness.

  • Adds one sentence to the coding-conventions section of CLAUDE.md; no production code is modified.
  • The PR description explains why model_prices_and_context_window.json is not directly @-included: it is a multi-megabyte file that would bloat every Claude session context unnecessarily.

Confidence Score: 5/5

Safe to merge — the change is a single documentation line with no impact on runtime code.

The only change is a one-sentence addition to a developer-guide file (CLAUDE.md). No production code, tests, migrations, or security-sensitive logic is touched, so there is nothing here that could regress existing behaviour.

No files require special attention.

Important Files Changed

Filename Overview
CLAUDE.md Adds a one-line guidance note instructing Claude to use the latest model in a family and consult model_prices_and_context_window.json or the web to compensate for knowledge-cutoff staleness.

Reviews (1): Last reviewed commit: "chore: add latest model rule to CLAUDE.m..." | Re-trigger Greptile

@mateo-berri
mateo-berri enabled auto-merge (squash) July 5, 2026 01:23
@mateo-berri
mateo-berri removed the request for review from yuneng-berri July 5, 2026 01:23
@codecov

codecov Bot commented Jul 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mateo-berri
mateo-berri disabled auto-merge July 5, 2026 01:26
@mateo-berri
mateo-berri enabled auto-merge (squash) July 5, 2026 01:51
@mateo-berri
mateo-berri merged commit 03271de into litellm_internal_staging Jul 5, 2026
122 of 123 checks passed
@mateo-berri
mateo-berri deleted the litellm_latest_model_claude_rule branch July 5, 2026 02:07
EkkoG pushed a commit to EkkoG/litellm that referenced this pull request Jul 7, 2026
* chore: add latest model rule to CLAUDE.md

* chore: correct grammar mistake

* chore: make the rule more concise

* chore: replace rule instead

* chore: revise wording to override memories, etc.

* chore: slightly adjust wording to be more precise
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