[Feat] Add OpenAI-compatible inference provider option#562
Merged
mrubens merged 2 commits intoJul 18, 2026
Conversation
Add a first-class OpenAI-compatible endpoint provider so operators can connect any OpenAI API server without guessing LiteLLM, Ollama, or vLLM.
Contributor
Author
|
No new code issues found. See task
Reviewed a1e53ee |
Contributor
|
@roomote-roomote address the feedback and fix tests |
Contributor
Author
|
I'm on it. I routed this request into the existing PR task so follow-up work stays on one Roomote thread for this PR, and I'll keep updates here. See task |
Contributor
Author
|
Fixed the review feedback and CI fixture failure in a1e53ee.
|
Keep OpenAI-compatible providers on dedicated env vars only, and update the fixture expecting the new non-secret base URL.
mrubens
marked this pull request as ready for review
July 18, 2026 23:33
mrubens
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
July 18, 2026 23:33
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.
Related issue
Fixes #560
Linked work items
Closes #560
Why this PR exists
What changed
Adds a first-class OpenAI-compatible inference provider so operators can connect any OpenAI API endpoint (LiteLLM proxy, local server, custom gateway, etc.) without guessing between LiteLLM, Ollama, or vLLM.
OPENAI_COMPATIBLE_BASE_URLand optionalOPENAI_COMPATIBLE_API_KEY/v1/models+/v1/chat/completionspath@ai-sdk/openai-compatibleconfigOPENAI_API_KEY/OPENAI_BASE_URLExisting LiteLLM, Ollama, and vLLM providers stay as dedicated named options.
How it was tested
pnpm --filter @roomote/types exec vitest runfor provider catalog and gateway testspnpm --filter @roomote/web exec vitest runfor local provider discovery and provider setup fixturespnpm --filter @roomote/worker exec vitest runfor OpenCode provider config, including keyless openai-compatible isolation and gateway rebase@roomote/types,@roomote/web, and@roomote/workerpnpm --filter @roomote/docs checkScreenshots
Checklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changeset