mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 04:32:56 +00:00
Add comment explaining chat template update restriction
This commit is contained in:
parent
ad9262ca1a
commit
7b202b6dcd
@ -447,7 +447,12 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
|
|||||||
// Update provider, profile and chat template:
|
// Update provider, profile and chat template:
|
||||||
this.ChatThread.SelectedProvider = this.Provider.Id;
|
this.ChatThread.SelectedProvider = this.Provider.Id;
|
||||||
this.ChatThread.SelectedProfile = this.currentProfile.Id;
|
this.ChatThread.SelectedProfile = this.currentProfile.Id;
|
||||||
this.ChatThread.SelectedChatTemplate = this.currentChatTemplate.Id;
|
|
||||||
|
//
|
||||||
|
// Remark: We do not update the chat template here
|
||||||
|
// because the chat template is only used when starting a new chat.
|
||||||
|
// Updating the chat template afterward is not supported.
|
||||||
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
var time = DateTimeOffset.Now;
|
var time = DateTimeOffset.Now;
|
||||||
|
Loading…
Reference in New Issue
Block a user