Lazy loader for MathAnimatorPipeline and config utilities in DeepTutor.
# Source: https://github.com/HKUDS/DeepTutor | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""Math animator agents and pipeline."""
from importlib import import_module
from typing import Any
from .request_config import (
MathAnimatorRequestConfig,
validate_math_animator_request_config,
)
__all__ = [
"MathAnimatorPipeline",
"MathAnimatorRequestConfig",
"validate_math_animator_request_config",
]
def __getattr__(name: str) -> Any:
if name == "MathAnimatorPipeline":
value = import_module(f"{__name__}.pipeline").MathAnimatorPipeline
globals()[name] = value
return value
raise AttributeError(f"module {__name__!r} has no attribute
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key