mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-13 15:44:12 +00:00
Set default system prompt in ConvertToChatThread
This commit is contained in:
parent
247c1b66b9
commit
fb868753d3
@ -79,7 +79,10 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
|
|||||||
|
|
||||||
protected virtual bool ShowReset => true;
|
protected virtual bool ShowReset => true;
|
||||||
|
|
||||||
protected virtual ChatThread ConvertToChatThread => this.chatThread ?? new();
|
protected virtual ChatThread ConvertToChatThread => (this.chatThread ?? new()) with
|
||||||
|
{
|
||||||
|
SystemPrompt = SystemPrompts.DEFAULT,
|
||||||
|
};
|
||||||
|
|
||||||
private protected virtual RenderFragment? HeaderActions => null;
|
private protected virtual RenderFragment? HeaderActions => null;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user