diff --git a/src/Cellm/Models/Client.cs b/src/Cellm/Models/Client.cs index fe83963..2d2bafe 100644 --- a/src/Cellm/Models/Client.cs +++ b/src/Cellm/Models/Client.cs @@ -33,13 +33,13 @@ public async Task Send(Prompt prompt, string? provider, Uri? baseAddress { throw new ArgumentException($"Unsupported provider: {provider}"); } - + IModelResponse response = parsedProvider switch { Providers.Anthropic => await _sender.Send(new AnthropicRequest(prompt, provider, baseAddress)), Providers.GoogleAi => await _sender.Send(new GoogleAiRequest(prompt, provider, baseAddress)), Providers.Llamafile => await _sender.Send(new LlamafileRequest(prompt)), - Providers.OpenAi => await _sender.Send(new OpenAiRequest(prompt, provider, baseAddress)), + Providers.OpenAi => await _sender.Send(new OpenAiRequest(prompt, provider, baseAddress)), _ => throw new InvalidOperationException($"Provider {parsedProvider} is defined but not implemented") };