Repository navigation
Conversation
Contributor
|
No actionable findings. |
1 task done
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
This PR adds LiteLLM Proxy as a provider. LiteLLM is an open source gateway that you host yourself. It gives one OpenAI-compatible endpoint for many model providers.
With this entry, tools that read this catalog can list LiteLLM by name, with the default local URL.
Changes
providers/litellm/provider.toml: name,LITELLM_API_KEY,@ai-sdk/openai-compatible,http://localhost:4000/v1and the docs link.providers/litellm/logo.svg: the LiteLLM logo withcurrentColorand a square viewBox.providers/litellm/models/gpt-6-luna.toml: one example alias withbase_model = "openai/gpt-6-luna". The reasoning effort values match the OpenAI entry, because LiteLLM forwardsreasoning_effortto the backend.Verification
bun validatepasses. Thelitellmentry has GPT-6 Luna with the limits from the lab entry.bun run testinpackages/sdkpasses (25 tests).bun run buildinpackages/webpasses and copieslitellm.svgtodist/logos.Notes
costbecause the price depends on the backend.bun testinpackages/corehas 10 failures. They also fail ondevwithout this change.