mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 12:53:48 +00:00
Classify embedding failures at the provider level
This commit is contained in:
11 files changed
+230
-36
No files matched your search
@@ -69,7 +69,7 @@ public sealed class ProviderDeepSeek() : BaseProvider(LLMProviders.DEEP_SEEK, ne
|
||||
/// <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 />
|
||||
|
||||
Reference in new issue
Block a user