[Misc] Sort OMNI_PIPELINES registry alphabetically (#8208)

Signed-off-by: HelloWorldU <asd001liu@gmail.com>
This commit is contained in:
Aochang Liu authored and GitHub committed 2026-09-27 22:49:40 -07:00
1 parent f5bdb20e9d
commit c0331048d0
2 files changed
+69 -63

No files matched your search

+5
View File
@@ -79,3 +79,8 @@ def test_minimax_h3_disaggregation_is_explicit_opt_in():
pipeline = OMNI_PIPELINES["minimax_h3_disaggregated"]
assert isinstance(pipeline, PipelineConfig)
assert pipeline.model_type == "minimax_h3_disaggregated"
def test_omni_pipelines_sorted_alphabetically():
"""OMNI_PIPELINES keys must stay sorted (case-insensitive) by model_type."""
assert list(OMNI_PIPELINES) == sorted(OMNI_PIPELINES, key=str.lower)