feat(base): RenderStability declarative API + Qwen3 / Qwen3-VL / DefaultRenderer values#44
Open
mvanhorn wants to merge 1 commit into
Conversation
…ultRenderer values PrimeIntellect-ai#41 asked for a declarative way to mark renderer stability and to populate the values for the Qwen3 family and the default renderer. Adds the RenderStability enum, a stability attribute on the base renderer, and the values for Qwen3, Qwen3-VL, Qwen3.5, Qwen3.6, DeepSeek-V3, GLM 4.5 / 5, GPT-OSS, Kimi K2 / K2.5, MiniMax-M2, Nemotron-3, and DefaultRenderer. Fixes PrimeIntellect-ai#41
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 declarative
RenderStabilityenum (stable/beta/experimental/deprecated) on the base renderer and populates the stability values for every shipped renderer module. #41 specifically called out that consumers want to filter by stability without source-diving.Why this matters
Today there's no programmatic way to know whether a renderer is production-tier or experimental. The PR maps each renderer module's status to the enum so downstream tools can branch on it.
Changes
renderers/stability.py(new) - theRenderStabilityenum and helper.renderers/base.py-stabilityattribute on the base renderer with a default.renderers/__init__.py- re-export the enum from the package root.stability = RenderStability.Xannotation.tests/test_stability.py- tests that the enum round-trips and that each renderer module declares a value.Testing
New stability tests + existing renderer tests pass locally.
Fixes #41