Classify embedding failures at the provider level

This commit is contained in:
Thorsten Sommer committed 2026-09-06 15:44:01 +02:00
1 parent 9875fbc646
commit 4e67504bca
11 files changed
+230 -36

No files matched your search

@@ -70,7 +70,7 @@ public sealed class ProviderX() : BaseProvider(LLMProviders.X, new Uri("https://
/// <inhertidoc />
public override Task<IReadOnlyList<IReadOnlyList<float>>> EmbedTextAsync(Model embeddingModel, SettingsManager settingsManager, CancellationToken token = default, params List<string> texts)
{
return Task.FromResult<IReadOnlyList<IReadOnlyList<float>>>([]);
throw this.CreateEmbeddingsNotSupportedException();
}
/// <inheritdoc />