mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 06:38:00 +00:00
Ask the endpoint for transcription models before falling back to the documented list
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user