Repository navigation
Conversation
|
@ux-xd is attempting to deploy a commit to the LibreChat's projects Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
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 a superbot custom endpoint guide under the LibreChat YAML AI endpoints docs, following the NEAR AI Cloud page (#668) and the full
endpoints.customnesting from #812.The example uses:
SUPERBOT_API_KEYhttps://api.superbot.gg/v1superbotandsuperbot-fastas the default modelsmodels.fetch: trueso LibreChat can load the live model list from/v1/modelssuperbot is an OpenAI-compatible API; one caller key (
sbc_...) reaches its two models and the models on the caller's own account. API reference: https://superbot.gg/apiFiles: the new
superbot.mdxpage, thesuperbot.tsxicon, one line each inmeta.json,components/icons/providers/index.tsandlib/icons.tsx.This is the English page only. The README says English is the source of truth and the translation workflow produces the rest, and PR #668 shipped English alone with the other locales arriving later from the bot, so I left the 13 translated files to the workflow.
Disclosure: I work on superbot.
Testing
Not run:
pnpm lint,pnpm lint:prettier,pnpm typecheckandpnpm build. The dependencies could not be installed on the machine I prepared this on, so CI will give the first real run. What I did check:meta.jsonstill parses as JSON, both YAML blocks and the frontmatter on the new page parse, and the page uses only the constructs the NEAR AI Cloud page already uses.I did not run a LibreChat instance against a real key, so
fetch: trueand the optionaltitleConvo/titleModelpair are untested here. If they misbehave, dropping the twotitle*lines leaves a working page.