feat(providers): add Atomic Chat OpenAI-compatible provider#12365
Open
yanalialiuk wants to merge 1 commit into
Open
feat(providers): add Atomic Chat OpenAI-compatible provider#12365yanalialiuk wants to merge 1 commit into
yanalialiuk wants to merge 1 commit into
Conversation
- Add atomic-chat provider with configurable base URL (default 127.0.0.1:1337) - Fetch models from GET /v1/models; optional Bearer API key - Wire extension host, types, settings UI, validation, and model picker - Fix validate.spec RouterModels mock for new provider key Co-authored-by: Cursor <cursoragent@cursor.com>
| super() | ||
| this.options = options | ||
|
|
||
| const baseRoot = (this.options.atomicChatBaseUrl || "http://127.0.0.1:1337").replace(/\/+$/, "") |
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.
Summary
Adds Atomic Chat as a local OpenAI-compatible provider for Roo Code. Atomic Chat exposes a local OpenAI-style HTTP API (default:
http://127.0.0.1:1337) with support forGET /v1/modelsandPOST /v1/chat/completions, allowing Roo Code to use locally hosted models through the same workflow as other OpenAI-compatible providers.Project: https://github.com/AtomicBot-ai/Atomic-Chat
What changed
atomic-chatatomicChatModelIdatomicChatBaseUrlatomicChatApiKeylocalProvidersAtomicChatHandlerbaseURL/v1routinggetAtomicChatModelsmodelCacheintegration branchrequestAtomicChatModelsatomicChatModelsHow to test
3.Open Roo Code settings.
4.Select provider: Atomic Chat
5.Configure:
-base URL (optional if using default)
-API key (optional)
-model
6.Verify:
-models populate correctly
-chat completion succeeds
-streaming responses function normally
Notes
-Model metadata currently follows the same defaults used by other OpenAI-compatible providers until richer metadata -----becomes available from the upstream API
-The implementation intentionally follows existing OpenAI-compatible provider patterns to minimize maintenance overhead and behavioral differences
Interactively review PR in Roo Code Cloud