The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(native-channel): split voice note wait into inference and sendVoice
Steven Enamakele6be1861acdb
diff --git a/tests/native_channel_session_restart_e2e.rs b/tests/native_channel_session_restart_e2e.rsindex 91d03b8656..fe5273f5cd 100644--- a/tests/native_channel_session_restart_e2e.rs+++ b/tests/native_channel_session_restart_e2e.rs@@ -781,19 +781,13 @@ async fn telegram_voice_note_runs_scoped_stt_agent_and_mirror_tts_through_module.expect("Telegram updates").push_back(voice_update(200, 20));- wait_until("voice note reaches inference and sendVoice", || {+ wait_until("voice note reaches inference", || {!mocks.state.completions.lock().expect("model requests").is_empty()- && !mocks- .state- .sent_voice_uploads- .lock()- .expect("voice uploads")- .is_empty()}).await;@@ -842,6 +836,15 @@ async fn telegram_voice_note_runs_scoped_stt_agent_and_mirror_tts_through_module&["fixture-voice-file"],"the real Telegram voice file ID is resolved before scoped transcription");+ wait_until("mirror reply reaches Telegram sendVoice", || {+ !mocks+ .state+ .sent_voice_uploads+ .lock()+ .expect("voice uploads")+ .is_empty()+ })+ .await;assert_eq!(mocks.state