Fixed loading of chats, triggered by assistants

This commit is contained in:
Thorsten Sommer 2025-01-04 19:25:40 +01:00
parent e9975a5fbc
commit f697b777bc
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 1 deletions

View File

@ -149,13 +149,13 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
if(this.ChatThread is not null)
{
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
this.currentWorkspaceName = await WorkspaceBehaviour.LoadWorkspaceName(this.ChatThread.WorkspaceId);
this.WorkspaceName(this.currentWorkspaceName);
await this.SelectProviderWhenLoadingChat();
}
this.StateHasChanged();
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
}
if(this.mustScrollToBottomAfterRender)

View File

@ -2,4 +2,5 @@
- 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.
- Fixed an issue when loading the today's bias chat, triggered by the bias assistant.
- Restructured the streaming network code to be centralized out of the individual providers. This will allow for easier maintenance and updates in the future.