auto apply system prompt changes to current chat
This commit is contained in:
parent
538e9d749a
commit
c70b2c3928
|
@ -24,8 +24,8 @@
|
||||||
faDownload,
|
faDownload,
|
||||||
faUpload,
|
faUpload,
|
||||||
faSquarePlus,
|
faSquarePlus,
|
||||||
faRotateLeft,
|
faRotateLeft
|
||||||
faCheckCircle
|
// faCheckCircle
|
||||||
} from '@fortawesome/free-solid-svg-icons/index'
|
} from '@fortawesome/free-solid-svg-icons/index'
|
||||||
import { exportProfileAsJSON } from './Export.svelte'
|
import { exportProfileAsJSON } from './Export.svelte'
|
||||||
import { onMount, afterUpdate } from 'svelte'
|
import { onMount, afterUpdate } from 'svelte'
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
originalProfile = ''
|
originalProfile = ''
|
||||||
originalSettings = {} as ChatSettings
|
originalSettings = {} as ChatSettings
|
||||||
showProfileMenu = false
|
showProfileMenu = false
|
||||||
|
applyToChat()
|
||||||
$checkStateChange++
|
$checkStateChange++
|
||||||
showSettingsModal = 0
|
showSettingsModal = 0
|
||||||
}
|
}
|
||||||
|
@ -294,9 +295,9 @@
|
||||||
<a href={'#'} class="dropdown-item" on:click|preventDefault={startNewChat}>
|
<a href={'#'} class="dropdown-item" on:click|preventDefault={startNewChat}>
|
||||||
<span class="menu-icon"><Fa icon={faSquarePlus}/></span> Start New Chat from Current
|
<span class="menu-icon"><Fa icon={faSquarePlus}/></span> Start New Chat from Current
|
||||||
</a>
|
</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
|
<span class="menu-icon"><Fa icon={faCheckCircle}/></span> Apply Prompts to Current Chat
|
||||||
</a>
|
</a> -->
|
||||||
<hr class="dropdown-divider">
|
<hr class="dropdown-divider">
|
||||||
<a href={'#'}
|
<a href={'#'}
|
||||||
class="dropdown-item"
|
class="dropdown-item"
|
||||||
|
|
Loading…
Reference in New Issue