feat: Add Amazon Bedrock & OpenAI Compatible provider to Lighthouse AI - #8957
Merged
Merged
Conversation
0xbadshah
force-pushed
the
PRWLR-7835-openai-compatible
branch
from
October 26, 2025 16:30
1917f73 to
d64a435
Compare
0xbadshah
marked this pull request as ready for review
October 28, 2025 09:28
vicferpoy
suggested changes
Oct 28, 2025
vicferpoy
left a comment
Contributor
There was a problem hiding this comment.
Could you provide some examples of wrong payload's responses using POST and/or PATCH endpoints? To see the format of the response.
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Lighthouse supports multi LLM provider as part of #8772
This PR adds support for Amazon Bedrock & OpenAI Compatible Providers.
Description
With multi LLM provider support, Lighthouse AI allows addition of new LLM providers. This PR adds support for Amazon Bedrock and OpenAI Compatible Providers.
As multi LLM support is limited to one provider config per tenant, the users can have 1 Amazon Bedrock configuration and 1 Open AI compatible provider (ex: OpenRouter, etc).
This PR also adds necessary code to validate the entered credentials.
Steps to review
After merge you should have the option of creating
bedrockandopenai_compatibleprovider configuration./api/v1/lighthouse/providersSample POST body:
(OpenAI compatible)
(Amazon Bedrock)
/api/v1/lighthouse/providers/api/v1/lighthouse/providers/<UUID>/connection/api/v1/lighthouse/providers/<UUID>/refresh-modelsChecklist
API
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.