We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 459cdcd commit 9b2e6d6Copy full SHA for 9b2e6d6
crates/owhisper-client/src/adapter/argmax/live.rs
@@ -35,7 +35,7 @@ impl RealtimeSttAdapter for ArgmaxAdapter {
35
}
36
37
fn build_auth_header(&self, api_key: Option<&str>) -> Option<(&'static str, String)> {
38
- api_key.map(|key| ("Authorization", format!("Token {}", key)))
+ api_key.and_then(|k| crate::providers::Provider::Deepgram.build_auth_header(k))
39
40
41
fn keep_alive_message(&self) -> Option<Message> {
0 commit comments