feat: Add safety checks to buffer length update and tests to updating voice sleeptime (#1959)

This commit is contained in:
Matthew Zhou
2025-04-30 18:08:47 -07:00
committed by GitHub
parent 3d94adbac3
commit 03248bee82
4 changed files with 94 additions and 10 deletions

View File

@@ -862,8 +862,8 @@ class SyncServer(Server):
agent_ids=[voice_sleeptime_agent.id],
manager_config=VoiceSleeptimeManager(
manager_agent_id=main_agent.id,
max_message_buffer_length=30,
min_message_buffer_length=15,
max_message_buffer_length=constants.DEFAULT_MAX_MESSAGE_BUFFER_LENGTH,
min_message_buffer_length=constants.DEFAULT_MIN_MESSAGE_BUFFER_LENGTH,
),
),
actor=actor,