diff --git a/app/MindWork AI Studio/Pages/Chat.razor.cs b/app/MindWork AI Studio/Pages/Chat.razor.cs index e94a9ca..5960b5c 100644 --- a/app/MindWork AI Studio/Pages/Chat.razor.cs +++ b/app/MindWork AI Studio/Pages/Chat.razor.cs @@ -216,6 +216,13 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable // Enable the stream state for the chat component: this.isStreaming = true; this.hasUnsavedChanges = true; + + if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading) + { + this.mustScrollToBottomAfterRender = true; + this.scrollRenderCountdown = 2; + } + this.StateHasChanged(); // Use the selected provider to get the AI response. diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md b/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md index 1427636..06abf03 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.9.7.md @@ -6,5 +6,6 @@ - Added an introductory description to the provider settings. - Added an indicator for the current and maximal length of the provider instance name. - Fixed the bug that the model name for Fireworks was not loaded when editing the provider settings. +- Fixed a bug where it was possible that the chat interface was not scrolling to the bottom when new messages were added. - Improved hyphenation for continuous text so that the rules of the respective language are taken into account where possible. - Improved the rules for provider names: unnecessary restrictions from earlier versions have been removed. You can now use emojis in your provider names when you like. \ No newline at end of file