Ask the endpoint for transcription models before falling back to the documented list

This commit is contained in:
Thorsten Sommer committed 2026-09-19 17:34:34 +02:00
1 parent 9595c6a19f
commit a4485ce618
4 files changed
+64 -13

No files matched your search

@@ -93,6 +93,16 @@ public class ProviderFireworks() : BaseProvider(LLMProviders.FIREWORKS, new Uri(
}
/// <inheritdoc />
/// <remarks>
/// The one transcription list which stays a plain list, where GWDG and Mistral ask their
/// endpoint first. There is nothing to ask here: HasModelLoadingCapability is false and every
/// other method above answers with nothing, which is why a chat model at Fireworks has to be
/// typed in by hand. A list is all there is.
///
/// The commented-out entry is no oversight either. The documentation names Whisper v3 Turbo,
/// and trying it does not work -- which is worth keeping written down, so that nobody adds it
/// back and finds out the same way again.
/// </remarks>
public override Task<ModelLoadResult> GetTranscriptionModels(string? apiKeyProvisional = null, CancellationToken token = default)
{
// Source: https://docs.fireworks.ai/api-reference/audio-transcriptions#param-model