mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 18:59:47 +00:00
Fixed loading of chats, triggered by assistants
This commit is contained in:
parent
e9975a5fbc
commit
f697b777bc
@ -149,13 +149,13 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
|
|||||||
|
|
||||||
if(this.ChatThread is not null)
|
if(this.ChatThread is not null)
|
||||||
{
|
{
|
||||||
|
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
|
||||||
this.currentWorkspaceName = await WorkspaceBehaviour.LoadWorkspaceName(this.ChatThread.WorkspaceId);
|
this.currentWorkspaceName = await WorkspaceBehaviour.LoadWorkspaceName(this.ChatThread.WorkspaceId);
|
||||||
this.WorkspaceName(this.currentWorkspaceName);
|
this.WorkspaceName(this.currentWorkspaceName);
|
||||||
await this.SelectProviderWhenLoadingChat();
|
await this.SelectProviderWhenLoadingChat();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.StateHasChanged();
|
this.StateHasChanged();
|
||||||
await this.ChatThreadChanged.InvokeAsync(this.ChatThread);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.mustScrollToBottomAfterRender)
|
if(this.mustScrollToBottomAfterRender)
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
- Added xAI as a new provider. xAI provides their Grok models for generating content.
|
- 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).
|
- 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 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.
|
- Restructured the streaming network code to be centralized out of the individual providers. This will allow for easier maintenance and updates in the future.
|
Loading…
Reference in New Issue
Block a user