Repository navigation
feat: add Pearl as inference provider - #1813
evgeniy-pearl wants to merge 1 commit into
Conversation
Add Pearl as a default openai-compatible provider with presets for deepseek-ai/DeepSeek-V4.1-Flash-1017, deepseek-ai/DeepSeek-V4-Pro-0813, zai-org/GLM-5.3 and zai-org/GLM-5.3-Flash, add the pearl rule to the backend and frontend provider schemas, document PEARL_API_KEY in .env.example, and cover the schema rule in the sync test. api_url is the bare host because GenVM appends /v1/chat/completions.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Tip 🎯 Customize your risk assessments
✅ Automatic approvals, with your rules
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
What
Pearlas a defaultopenai-compatibleproviderbackend/node/create_nodes/default_providers/:deepseek-ai/DeepSeek-V4.1-Flash-1017deepseek-ai/DeepSeek-V4-Pro-0813zai-org/GLM-5.3zai-org/GLM-5.3-Flashpearlto the backend and frontend provider schemasPEARL_API_KEYto.env.examplepearlprovider rule aligned between the backend and frontend schemasWhy
Testing done
https://inference.pearlresearch.ai/v1/modelshttps://inference.pearlresearch.ai/v1/chat/completions, with the request body GenVM'sopenai-compatibleprovider sends:finish_reason: stop, for all 4 modelsresponse_format: json_object): HTTP 200, valid JSON, for all 4 modelsprovidersSchemaSync.test.tspasses, and Prettier is cleanDecisions made
openai-compatiblefor the Pearl provider integrationapi_urlis the bare hosthttps://inference.pearlresearch.ai, without/v1, because GenVM appends/v1/chat/completionsChecks
Reviewing tips
The change follows #1516 (Chutes.ai). The preset prefill in
ProviderModal.vuefrom that PR already covers the new presets, so no component change is needed.User facing release notes
Pearl is now available as an inference provider in Studio, with 4 models. Set
PEARL_API_KEYto use it.