Merge commit 'bf8f76505fdd25ea99770f262eb9371509bf226d' as 'vendor/dumas_h3_continuum'
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
"""H3 Continuum — native MiniMax H3 chunk continuation."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
# ComfyUI loads custom-node folders as packages. Standalone test collection may
|
||||
# import this file as a top-level module; keep that path inert because ComfyUI is
|
||||
# intentionally not a unit-test dependency.
|
||||
if __package__:
|
||||
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
from .temporal import run_temporal_self_test
|
||||
from .version import PACKAGE_VERSION
|
||||
from .storage_api import register_routes
|
||||
|
||||
register_routes()
|
||||
|
||||
try:
|
||||
run_temporal_self_test()
|
||||
except Exception as exc:
|
||||
raise RuntimeError(f"H3 Continuum Join self-test failed: {exc}") from exc
|
||||
logging.getLogger("h3_continuum_join").info(
|
||||
"H3 Continuum %s loaded (V2 integrated sampler + hidden legacy workflow compatibility)",
|
||||
PACKAGE_VERSION,
|
||||
)
|
||||
else: # pragma: no cover
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||
Reference in New Issue
Block a user