feat: add Lilac as an OpenAI-compatible provider#1426
feat: add Lilac as an OpenAI-compatible provider#1426Luew2 wants to merge 8 commits intodifferent-ai:devfrom
Conversation
- Add how-to-connect-lilac.mdx documentation covering desktop and Cloud setup - Add Lilac friendly provider label in FRIENDLY_PROVIDER_LABELS - Add Lilac doc page to docs.json navigation Lilac (getlilac.com) provides an OpenAI-compatible API at api.getlilac.com/v1 with models including zai-org/glm-5.1 and moonshotai/kimi-k2.5.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@Luew2 is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
|
The following comment was made by an LLM, it may be inaccurate: |
… docs links - Add vision/image support and reasoning flags based on Lilac's OpenAI compatibility page - Link to Lilac's own docs (models, openai-compatibility, local-tools, pricing) - Reference Lilac's API key guide and console - Add introductory paragraph mentioning Lilac's supported features
- Set attachment: false and remove image from modalities for GLM 5.1 - Clarify intro paragraph: vision is model-dependent
…ts from Lilac docs - Fix model ID: zai-org/glm-5.1 -> z-ai/glm-5.1 (per Lilac's models page) - Update GLM 5.1 context: 202,800 tokens, output 131,072 - Update Kimi K2.5 context: 262,144 tokens - GLM 5.1 is open_weights: true (MIT licensed) - Add model details table with pricing - Add pricing column from Lilac's models page
|
Thanks for the PR. We’re trying to keep provider-specific documentation limited to the major providers with broad user demand. Since there are many OpenAI-compatible providers, we use the generic custom provider docs for the long tail rather than maintaining a dedicated page for each one. Given that policy, we’re not going to merge a Lilac-specific docs page, so I’m closing this out. Thanks again for taking the time to contribute. |
No worries -- we're trying to get merged into models.dev so we at least are easier to have out api key added: anomalyco/models.dev#1416 hopefully a maintainer can help us there soon :) |
Summary
Add Lilac as a provider in OpenWork with documentation and a friendly display label.
Changes
apps/app/src/app/utils/index.ts— Addlilac: "Lilac"toFRIENDLY_PROVIDER_LABELSso the provider displays as "Lilac" instead of the raw IDpackages/docs/how-to-connect-lilac.mdx— New doc page with three setup paths:.opencode.jsonfallback)packages/docs/docs.json— Add nav entry under TutorialsModels
z-ai/glm-5.1moonshotai/kimi-k2.5Related