mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
add hideSystemPrompt
This commit is contained in:
@@ -98,6 +98,7 @@ const defaults:ChatSettings = {
|
||||
summaryPrompt: '',
|
||||
useSystemPrompt: false,
|
||||
systemPrompt: '',
|
||||
hideSystemPrompt: false,
|
||||
sendSystemPromptLast: false,
|
||||
autoStartSession: false,
|
||||
trainingPrompts: [],
|
||||
@@ -257,6 +258,13 @@ const systemPromptSettings: ChatSetting[] = [
|
||||
type: 'other',
|
||||
hide: (chatId) => true
|
||||
},
|
||||
{
|
||||
key: 'hideSystemPrompt',
|
||||
name: 'Hide System Prompt',
|
||||
title: 'Don\'t show system prompt when displaying message stream.',
|
||||
type: 'boolean',
|
||||
hide: (chatId) => !getChatSettings(chatId).useSystemPrompt
|
||||
},
|
||||
{
|
||||
key: 'autoStartSession',
|
||||
name: 'Auto-Start Session',
|
||||
|
||||
Reference in New Issue
Block a user