Watch
0
0
Fork
You've already forked hyperhive
0

swarm-stt: the request subject, the service's NATS permissions and the --stt-client flag

This commit is contained in:
damocles 2026-11-11 21:53:10 +01:00 • committed by mara
commit 47bec6bef3

View file

@ -166,6 +166,11 @@ struct Args {
#[arg(long = "notify-router-client")]
notify_router_clients: Vec<String>,
/// Client ids that answer voice memo transcription requests.
/// Repeatable, empty by default, which denies such a client.
#[arg(long = "stt-client")]
stt_clients: Vec<String>,
/// Role on the secret store's `cert` auth mount this responder logs in
/// as to read the callout keys, its own OIDC client secret and agent
/// credentials. The store is found
@ -232,7 +237,8 @@ async fn serve(args: Args) -> anyhow::Result<()> {
.with_review_classifiers(args.review_classifier_clients.clone())
.with_builders(args.builder_clients.clone())
.with_claude_logins(args.claude_login_clients.clone())
.with_notify_routers(args.notify_router_clients.clone());
.with_notify_routers(args.notify_router_clients.clone())
.with_stts(args.stt_clients.clone());
let http = reqwest::Client::new();
let settings = swarm_secret_client::client::Settings::from_env()
.context("reading the secret store's address and this responder's identity")?;