Add OpenPaths as a cloud model provider#1707
Open
lee101 wants to merge 1 commit into
Open
Conversation
OpenPaths (https://openpaths.io) is an OpenAI-compatible model gateway that neural-routes a single request across many model families. Register it as a chat provider (litellm openai-compatible, api_base https://openpaths.io/v1, models autoloaded from /v1/models) and add an onboarding card. API key resolves from OPENPATHS_API_KEY. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Adds OpenPaths as a selectable cloud model provider.
OpenPaths is an OpenAI-compatible model gateway that neural-routes a single request to the best backing model across many families (one key, many models — same role as the existing OpenRouter provider).
Changes
conf/model_providers.yaml: registeropenpathsunderchatas a LiteLLMopenai-compatible provider withapi_base: https://openpaths.io/v1and model list autoloaded fromhttps://openpaths.io/v1/models.plugins/_onboarding/webui/onboarding-providers.js: add OpenPaths toMORE_CLOUD_PROVIDER_IDSand an onboarding metadata card (logo, setup/key/docs URLs, default modelsopenpaths/auto+openpaths/auto-fast).Notes
get_api_keyconvention viaOPENPATHS_API_KEY(orAPI_KEY_OPENPATHS) — no new key-handling code.Testing
conf/model_providers.yamlvalidated as YAML;chat.openpathsparses with the expected keys.OPENPATHS_API_KEYset, OpenPaths appears in onboarding and its model list autoloads from the/v1/modelsendpoint.