Skip to content

Add Anthropic as a supported LLM provider - #49

Draft
omkarjoshi0304 wants to merge 2 commits into
openstack-k8s-operators:mainfrom
omkarjoshi0304:feature/anthropic-provider-support
Draft

Add Anthropic as a supported LLM provider#49
omkarjoshi0304 wants to merge 2 commits into
openstack-k8s-operators:mainfrom
omkarjoshi0304:feature/anthropic-provider-support

Conversation

@omkarjoshi0304

Copy link
Copy Markdown
Collaborator

Adds anthropic to the LLMEndpointType enum and generates a remote::anthropic inference provider config.

@openshift-ci
openshift-ci Bot requested review from Akrog and lpiwowar August 13, 2026 15:20
@omkarjoshi0304
omkarjoshi0304 force-pushed the feature/anthropic-provider-support branch from 3ea3346 to c57fa12 Compare August 13, 2026 15:40
that are used by this container.

This field depends on the
This is an alpha field and requires enabling the

@umago umago Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

most nit: These changes could be on a separated commit since it's unrelated

// don't define a base_url field at all, so setting llmEndpoint for those
// providers has no effect on the generated config - Llama Stack silently
// ignores it on its end. That's upstream (llama-stack/OGX) behavior, not
// something this operator works around.

@umago umago Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Oh, so for those providers OGX will totally ignore the custom URL ? But not for openai for example ?

That's such a weird behavior.

(Nothing to do on our side, since it's OGX/Llama-Stack)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

remote::gemini/remote::anthropic configs simply have no base_url field so it's silently dropped by Pydantic. Nothing we can do on our side it's an Llama-Stack schema thing. and yes I won't ignore for openai provider

@umago umago left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks Omkar!

@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: omkarjoshi0304, umago

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@omkarjoshi0304
omkarjoshi0304 force-pushed the feature/anthropic-provider-support branch from c57fa12 to 6dffbfe Compare August 14, 2026 10:50
omkarjoshi0304 and others added 2 commits August 14, 2026 12:13
Unrelated to the Anthropic changes; just re-syncs generated output with
the currently pinned k8s.io/api version.

Co-authored-by: Cursor <cursoragent@cursor.com>
Adds anthropic to the LLMEndpointType enum and generates a remote::anthropic
inference provider config.

Co-authored-by: Cursor <cursoragent@cursor.com>
@omkarjoshi0304
omkarjoshi0304 force-pushed the feature/anthropic-provider-support branch from 6dffbfe to 1c57a6b Compare August 14, 2026 11:25
@openshift-ci

openshift-ci Bot commented Aug 14, 2026

Copy link
Copy Markdown

@omkarjoshi0304: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/openstack-lightspeed-kuttl-4-20 1c57a6b link true /test openstack-lightspeed-kuttl-4-20

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@omkarjoshi0304

Copy link
Copy Markdown
Collaborator Author

Converting this PR in draft , since we need few dependencies from Lcore team inorder to enable us to use anthropic provider which they are planing for Q4.

@openshift-ci

openshift-ci Bot commented Aug 18, 2026

Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants