Changed default model to be GPT4-omni

This commit is contained in:
Thorsten Sommer 2024-05-13 20:52:08 +02:00
parent 21911a68ed
commit 2bdd622dd6
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -102,7 +102,7 @@ public partial class Chat : ComponentBase
// Use the selected provider to get the AI response. // Use the selected provider to get the AI response.
// By awaiting this line, we wait for the entire // By awaiting this line, we wait for the entire
// content to be streamed. // content to be streamed.
await aiText.CreateFromProviderAsync(this.selectedProvider.UsedProvider.CreateProvider(), this.JsRuntime, this.SettingsManager, new Model("gpt-4-turbo-preview"), this.chatThread); await aiText.CreateFromProviderAsync(this.selectedProvider.UsedProvider.CreateProvider(), this.JsRuntime, this.SettingsManager, new Model("gpt-4o"), this.chatThread);
// Disable the stream state: // Disable the stream state:
this.isStreaming = false; this.isStreaming = false;