Speechmatics linden-1 diarization only accepts speaker or none; anything else errors
Speechmatics linden-1 diarization only accepts speaker or none; anything else errors: Check the diarization value you are passing.
Check the diarization value you are passing. On speechmatics/linden-1 through LiveKit Inference only speaker or none are accepted; any other value returns an error instead of falling back. The same goes for output_locale, which is per-language: a locale the language does not offer fails the session, and the error names the language it was rejected for. Validate both against the model parameter table before the agent starts its session.
Context: When you run Speechmatics STT through LiveKit Inference with the speechmatics/linden-1 model, the diarization parameter only accepts two values: speaker (attribute each segment to a speaker) or none (disable it). The docs are explicit that these are the only two values linden-1 accepts, and any other value returns an error, so passing a channel-diarization style value you might know from the batch API fails the config instead of falling back to speaker labels. The same page has a second quiet failure in the same vein: output_locale is BCP-47 and per-language, and a locale the language does not offer fails the session, with the error naming the language it was rejected for. The gotcha for agent builders is that both of these look like soft preferences and are actually hard session failures, so validate the pair against the docs before wiring them into a voice agent's STT config.
Matched source
Source: Published skill Original query: "Speechmatics linden-1 diarization only accepts speaker or none; anything else errors" Key terms: accepts, anything, diarization, else, errors, linden, none, only, speaker, speechmatics
Maintainer review
No maintainer verification is recorded for this version.
This records the version a maintainer checked. It does not assert that the version is the latest upstream release.