feat(nebul): add Nebul provider with 16 models and hourly sync module - #6961
Closed
wynandhuizinga wants to merge 5 commits into
Closed
wynandhuizinga wants to merge 5 commits into
wynandhuizinga wants to merge 5 commits into
Conversation
added 2 commits
September 12, 2026 13:47
Adds the Nebul inference platform (https://nebul.io) as a provider: - provider entry (npm @ai-sdk/openai-compatible, env NEBUL_API_KEY, base https://api.inference.nebul.io/v1) - 16 served chat models with live costs/limits and per-model reasoning controls; effort values only where the live catalog (https://api.inference.nebul.io/model/info) "reasoning_efforts" or Nebul docs establish accepted values (DeepSeek V4.1 Flash, GLM-5.3 Flash, Mistral Medium 3.5, gpt-oss-120b), empty otherwise; no toggles or budgets (undocumented) - missing lab metadata for models/alibaba/qwen3-30b-a3b-instruct-2507 - an hourly sync module with delete safety, base_model alias autodiscovery, and fail-closed behavior for undocumented reasoning controls Supersedes anomalyco#6876. Closes anomalyco#6879.
This was referenced Sep 12, 2026
Contributor
Action items
|
…h context - Each reasoner cites Nebul's Reasoning docs page for why its trace channel is reasoning_content, message.reasoning, or inline <thinking> (field is family-specific by design, not an inconsistency) - GLM-5.3-Flash: note limit.context = 1,048,572 is the live GET /v1/model/info max_input_tokens for this exact ID (re-checked 2026-09-13); sibling GLM-5.3 is 1,048,576
Author
|
Contributor
Action items
|
deleteMissing defaults on for Nebul, so an empty or shape-drifted /model/info response would sync as an empty desired set and delete every local model file. Guard in parseModels (llmgateway-style): throw when the catalog is empty or contains no usable chat models, before the runner writes or deletes anything. Whole-catalog faults abort; per-model transient nulls and unresolvable aliases still retain existing entries. Document the behavior under Nebul Notes in sync.md.
Contributor
Action items
|
Author
message.reasoning is not expressible via the schema's field enum (reasoning_content | reasoning_details only), so bare true is the correct shape for the GLM-5.x family on this host — same as bothub/GLM-5.3, runinfra/GLM-5.3-Flash, vercel/zai-glm-4.x, and bedrock/zai.glm-5 + minimax-m2.x, which all use interleaved = true for this trace channel. Lab entries cannot set interleaved at all (provider-only key). The inline- semantics apply only to gemma-4-31B-it here; each file's comment now cites the Reasoning docs page. |
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.
Add https://nebul.io as a provider with all 16 chat models it serves today, plus an hourly sync module.
Supersedes #6876 (rebased cleanly onto current dev; resolves its remaining review items). The Ministral 3 14B lab file landed upstream in the meantime, so the only new lab entry is Alibaba's Qwen3 30B A3B Instruct.
Closes #6879.
Sources
GET https://api.inference.nebul.io/model/info"reasoning_efforts" is the per-model source of truth (DeepSeek V4.1 Flash: low|high|max; GLM-5.3-Flash: low|high|max; GLM-5.3: empty list; Mistral Medium 3.5: low|medium|high|max)reasoning_effortparam, no toggle, no budget; traces in message.reasoningReasoning controls policy
reasoning_options = []with a sourced comment; no toggles, no budgets.[]exactly; if nothing is advertised and nothing authored, new syncs fail closed with a missing-reasoning-controls error instead of inventing values.Sync deletion safety