From c5bfc24db1ae38d8488e566a2c9ff8afd42c0e5c Mon Sep 17 00:00:00 2001
From: cai <cai@nbcai.cc>
Date: Sat, 08 Aug 2026 19:16:59 +0800
Subject: [PATCH] chore: bind final observer test candidate
---
src/asr_realtime.rs | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/asr_realtime.rs b/src/asr_realtime.rs
index c1afd25..a108c44 100644
--- a/src/asr_realtime.rs
+++ b/src/asr_realtime.rs
@@ -106,9 +106,7 @@
F: FnOnce() -> HashMap<String, String>,
{
let metadata = AudioIngressMetadata::from_participant(&read_attributes())
- .map_err(|reason| anyhow!(reason))
- .ok()
- .flatten();
+ .map_err(|reason| anyhow!(reason))?;
Self::start(
http,
config,
@@ -352,7 +350,7 @@
samples: Vec<i16>,
}
-fn session_start_line(
+pub(crate) fn session_start_line(
call_id: &str,
trace_id: &str,
turn_id: &str,
--
Gitblit v1.9.3