Repository navigation
Conversation
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
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.
What
Adds
crowllmas a built-in provider. CrowLLM is an OpenAI-compatible gateway athttps://crowllm.com/v1/: one key for every model, with a zero-rated:freeshelf next to the paid ids.The class subclasses
OpenAIthe same wayClawRouterandNebiusdo, so it inherits streaming, tool calls and templates:core/llm/llms/CrowLLM.ts—providerName = "crowllm",apiBase, default modelcore/llm/llms/index.ts— registered inLLMClassescore/llm/autodetect.ts— added to templating and image-capable provider listsgui/src/pages/AddNewModel/configs/providers.ts+gui/public/logos/crowllm.svg— appears in the Add Model UI with API-key and API-base inputs; autodetect lists the served catalogdocs/customize/model-providers/more/crowllm.mdx+ nav entrycore/llm/llms/CrowLLM.vitest.ts— mirrors the ClawRouter testHow it was checked
CrowLLM.vitest.tsadded for provider name, defaults and reasoning flag (same shape as the existingClawRouter.vitest.ts).tsc -p core --noEmit: no errors in any touched file. The only errors in this fresh checkout are unresolved@continuedev/*workspace packages because theirdistis not built locally; none reference the new files.GET https://crowllm.com/v1/models(183 ids at the time of writing).Disclosure
I run CrowLLM.