mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
auto apply system prompt changes to current chat
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
faDownload,
|
||||
faUpload,
|
||||
faSquarePlus,
|
||||
faRotateLeft,
|
||||
faCheckCircle
|
||||
faRotateLeft
|
||||
// faCheckCircle
|
||||
} from '@fortawesome/free-solid-svg-icons/index'
|
||||
import { exportProfileAsJSON } from './Export.svelte'
|
||||
import { onMount, afterUpdate } from 'svelte'
|
||||
@@ -75,6 +75,7 @@
|
||||
originalProfile = ''
|
||||
originalSettings = {} as ChatSettings
|
||||
showProfileMenu = false
|
||||
applyToChat()
|
||||
$checkStateChange++
|
||||
showSettingsModal = 0
|
||||
}
|
||||
@@ -294,9 +295,9 @@
|
||||
<a href={'#'} class="dropdown-item" on:click|preventDefault={startNewChat}>
|
||||
<span class="menu-icon"><Fa icon={faSquarePlus}/></span> Start New Chat from Current
|
||||
</a>
|
||||
<a href={'#'} class="dropdown-item" on:click|preventDefault={applyToChat}>
|
||||
<!-- <a href={'#'} class="dropdown-item" on:click|preventDefault={applyToChat}>
|
||||
<span class="menu-icon"><Fa icon={faCheckCircle}/></span> Apply Prompts to Current Chat
|
||||
</a>
|
||||
</a> -->
|
||||
<hr class="dropdown-divider">
|
||||
<a href={'#'}
|
||||
class="dropdown-item"
|
||||
|
||||
Reference in New Issue
Block a user