fix: SyncConfig arguments and add missing imports

- Fix SyncConfig to use correct keyword arguments (phase_threshold, collapse_threshold)
- Add MasterConfig and EmissaryConfig imports
This commit is contained in:
2026-02-19 18:00:56 +00:00
parent b9d7346103
commit dcc3549540
+6 -4
View File
@@ -39,6 +39,8 @@ from becomingone import (
WitnessingMode, WitnessingMode,
TemporalMemory, TemporalMemory,
) )
from becomingone.transducers.master import MasterConfig
from becomingone.transducers.emissary import EmissaryConfig
# Configure logging # Configure logging
logging.basicConfig( logging.basicConfig(
@@ -179,10 +181,10 @@ def init_engine(
# Create sync configuration # Create sync configuration
sync_config = SyncConfig( sync_config = SyncConfig(
master_tau=master_tau, phase_threshold=0.1,
emissary_tau=emissary_tau, collapse_threshold=coherence_threshold,
sync_tau=sync_tau, mesh_enabled=False,
coherence_threshold=coherence_threshold, dampening=0.995,
) )
# Create sync layer # Create sync layer