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:
+6
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user