Fixed the chat scrolling behavior after toggling the workspaces (#255)

This commit is contained in:
Thorsten Sommer 2025-01-04 18:27:23 +01:00 committed by GitHub
parent 2ef4d9d53f
commit e9975a5fbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View File

@ -106,13 +106,13 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
await WorkspaceBehaviour.EnsureBiasWorkspace();
}
}
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
{
this.mustScrollToBottomAfterRender = true;
this.scrollRenderCountdown = 2;
this.StateHasChanged();
}
}
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
{
this.mustScrollToBottomAfterRender = true;
this.scrollRenderCountdown = 4;
this.StateHasChanged();
}
var deferredLoading = MessageBus.INSTANCE.CheckDeferredMessages<LoadChat>(Event.LOAD_CHAT).FirstOrDefault();

View File

@ -1,4 +1,5 @@
# v0.9.25, build 200 (2025-01-xx xx:xx UTC)
- Added xAI as a new provider. xAI provides their Grok models for generating content.
- Improved the stop generation button behavior to ensure that the AI stops generating content immediately (which will save compute time, energy and financial resources).
- Fixed the chat scrolling behavior after toggling the workspaces.
- Restructured the streaming network code to be centralized out of the individual providers. This will allow for easier maintenance and updates in the future.