Skip to content

symfonic.agent.configuration.compat.state

state

Translation state and deterministic legacy provenance capture.

validate_framework_config

validate_framework_config(values: dict[str, object]) -> FrameworkConfig

Construct legacy input while replacing its provenance-blind twin warning.

Source code in src/symfonic/agent/configuration/compat/state.py
def validate_framework_config(values: dict[str, object]) -> FrameworkConfig:
    """Construct legacy input while replacing its provenance-blind twin warning."""
    with warnings.catch_warnings():
        warnings.filterwarnings(
            "ignore",
            message=r"context_strategy=.*overrides jit_context=.*",
            category=DeprecationWarning,
        )
        return FrameworkConfig.model_validate(values)