Skip to content

Update Anthropic models - #213

Merged
bubacoder merged 1 commit into
mainfrom
feature/models
Oct 19, 2025
Merged

Update Anthropic models#213
bubacoder merged 1 commit into
mainfrom
feature/models

Conversation

@bubacoder

@bubacoder bubacoder commented Oct 18, 2025

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Chores
    • Updated Anthropic/Claude model configurations to newer model versions.
    • Added an additional Claude model option for use in AI features.
    • Updated in-app guidance references for Claude pricing and API key/billing locations.

@coderabbitai

coderabbitai Bot commented Oct 18, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

Update to LiteLLM Anthropic (Claude) entries in docker/ai/litellm/config.yaml: three existing model blocks renamed with updated litellm_params.model strings, a new claude-haiku-4-5 block added, api_key lines added/updated, and comment URLs for Claude pricing/keys/billing adjusted.

Changes

Cohort / File(s) Summary
LiteLLM Anthropic / Claude config
docker/ai/litellm/config.yaml
Renamed three Claude model entries and updated their litellm_params.model values: claude-3-7-sonnetclaude-sonnet-4-0 (model string -> anthropic/claude-sonnet-4-0), claude-opus-4-0claude-sonnet-4-5 (model string -> anthropic/claude-sonnet-4-5), claude-sonnet-4-0claude-opus-4-1 (model string -> anthropic/claude-opus-4-1); added new claude-haiku-4-5 block (anthropic/claude-haiku-4-5) and added/updated api_key lines and Claude pricing/platform comment URLs. Other provider blocks unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Add new AI models, update docs #137: Modifies the same docker/ai/litellm/config.yaml Anthropic/Claude entries (model names and litellm_params.model values), likely overlapping changes.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The pull request title "Update Anthropic models" directly corresponds to the main change in the changeset, which involves updating multiple Anthropic/Claude model entries in the litellm configuration file. The title is concise, specific, and clearly identifies the primary focus—updating Anthropic model configurations—without vague terminology or unnecessary noise. A developer reviewing git history would immediately understand that this changeset concerns Anthropic model updates, making it an effective summary of the primary change.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/models

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3b84f92 and 1d6559f.

📒 Files selected for processing (1)
  • docker/ai/litellm/config.yaml (1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{yml,yaml}

📄 CodeRabbit inference engine (AGENTS.md)

All YAML files must be linted and validated

Files:

  • docker/ai/litellm/config.yaml
{terraform/**/*.tf,docker/**/*.{yml,yaml}}

📄 CodeRabbit inference engine (AGENTS.md)

Run KICS security scanning on IaC files (Terraform and Docker Compose)

Files:

  • docker/ai/litellm/config.yaml
docker/**/*.{yml,yaml}

📄 CodeRabbit inference engine (AGENTS.md)

Define each Docker service in a YAML file within the appropriate category under docker/

Files:

  • docker/ai/litellm/config.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build
  • GitHub Check: check

Comment thread docker/ai/litellm/config.yaml
Comment thread docker/ai/litellm/config.yaml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docker/ai/litellm/config.yaml (1)

13-42: Fix line 24: inline comment exceeds character limit.

Line 24 has a line-length violation (142 characters, max 120 allowed). The lengthy inline comment on the litellm_params: line must be shortened or moved to a separate comment line. KICS security scanning could not be run in the verification environment, so manually verify the configuration file against KICS security checks for Docker files.

♻️ Duplicate comments (1)
docker/ai/litellm/config.yaml (1)

19-21: Resolve unaddressed feedback: Use official Anthropic documentation URLs.

These lines were updated but still reference non-official domains (claude.com, platform.claude.com) instead of Anthropic's official documentation. The previous review flagged the exact corrections needed. Update to the official Anthropic URLs:

-  #  Model pricing: https://docs.claude.com/en/docs/about-claude/pricing
-  #  Create API key: https://platform.claude.com/settings/keys
-  #  Buy credits: https://platform.claude.com/settings/billing
+  #  Model pricing: https://docs.anthropic.com/en/docs/about-claude/pricing
+  #  Create API key: https://console.anthropic.com
+  #  Buy credits: https://console.anthropic.com
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1d6559f and d45343f.

📒 Files selected for processing (1)
  • docker/ai/litellm/config.yaml (1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{yml,yaml}

📄 CodeRabbit inference engine (AGENTS.md)

All YAML files must be linted and validated

Files:

  • docker/ai/litellm/config.yaml
{terraform/**/*.tf,docker/**/*.{yml,yaml}}

📄 CodeRabbit inference engine (AGENTS.md)

Run KICS security scanning on IaC files (Terraform and Docker Compose)

Files:

  • docker/ai/litellm/config.yaml
docker/**/*.{yml,yaml}

📄 CodeRabbit inference engine (AGENTS.md)

Define each Docker service in a YAML file within the appropriate category under docker/

Files:

  • docker/ai/litellm/config.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build
  • GitHub Check: check

Comment thread docker/ai/litellm/config.yaml
@bubacoder
bubacoder merged commit b723c24 into main Oct 19, 2025
4 checks passed
@bubacoder
bubacoder deleted the feature/models branch October 19, 2025 06:35
@coderabbitai coderabbitai Bot mentioned this pull request Feb 27, 2026
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.

1 participant