Skip to content

add support for custom anthropic models - #16673

Merged
sdirix merged 4 commits into
eclipse-theia:masterfrom
udit-329:udit-329/custom-anthropic-model
Feb 19, 2026
Merged

sdirix merged 4 commits into
eclipse-theia:masterfrom
udit-329:udit-329/custom-anthropic-model

Conversation

@udit-329

@udit-329 udit-329 commented Nov 27, 2025 •

Copy link
Copy Markdown
Contributor

What it does

Adds support for custom anthropic models. This works similar to how user can configure custom openAI models for situations such as when the model is hosted on a custom url.

Addresses #16666

How to test

If a user has an Anthropic model that is accessed from a custom endpoint, they can add it in settings.json similar to how it can already be done for openAI models.

"ai-features.AnthropicCustom.customAnthropicModels": [
        {
            "model": "claude-sonnet-4",
            "url": "<custom-url>",
            "id": "<model-ID>",
            "apiKey": "<API-Key>"
        }
    ]

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

Signed-off-by: Udit Kapoor <ukapoor.29@gmail.com>
@github-project-automation github-project-automation Bot moved this to Waiting on reviewers in PR Backlog Nov 27, 2025
@ndoschek
ndoschek requested a review from sdirix December 2, 2025 14:22
@ndoschek ndoschek linked an issue Dec 5, 2025 that may be closed by this pull request

@sdirix sdirix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the contribution ❤️

I tested it successfully by defining a custom model against the official API endpoint 👍

However there is an issue with the "apiKey"-less path, see my comments.

Comment thread packages/ai-anthropic/src/browser/anthropic-frontend-application-contribution.ts Outdated
Comment thread packages/ai-anthropic/src/common/anthropic-preferences.ts Outdated
Comment thread packages/ai-anthropic/src/common/anthropic-preferences.ts Outdated
@github-project-automation github-project-automation Bot moved this from Waiting on reviewers to Waiting on author in PR Backlog Dec 9, 2025
@ndoschek

Copy link
Copy Markdown
Member

Hi @udit-329, just a gentle ping, the review is done and there are a few points that would need your input before we can proceed. TIA!

@udit-329
udit-329 requested review from sdirix February 12, 2026 21:21

@sdirix sdirix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works great for me. Thanks! ❤️

@github-project-automation github-project-automation Bot moved this from Waiting on author to Needs merge in PR Backlog Feb 18, 2026
@udit-329 udit-329 closed this Feb 18, 2026
@github-project-automation github-project-automation Bot moved this from Needs merge to Done in PR Backlog Feb 18, 2026
@udit-329 udit-329 reopened this Feb 18, 2026
@github-project-automation github-project-automation Bot moved this from Done to Waiting on reviewers in PR Backlog Feb 18, 2026
@sdirix
sdirix merged commit ae13bc9 into eclipse-theia:master Feb 19, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from Waiting on reviewers to Done in PR Backlog Feb 19, 2026
@github-actions github-actions Bot added this to the 1.69.0 milestone Feb 19, 2026
@udit-329
udit-329 deleted the udit-329/custom-anthropic-model branch February 19, 2026 14:34
ankitsharma101 pushed a commit to ankitsharma101/theia that referenced this pull request Apr 12, 2026
Signed-off-by: Udit Kapoor <ukapoor.29@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

add support for custom hosted Anthropic models

3 participants