Merge branch 'staging' into chore/lintAndDocumentLogprobs

This commit is contained in:
Cohee 2024-11-17 20:10:28 +02:00
commit 57c00b0a3c
4 changed files with 1080 additions and 848 deletions

View File

@ -4503,7 +4503,7 @@
</div>
</div>
<div name="AutoCompleteToggle" class="inline-drawer wide100p flexFlowColumn">
<div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Options for the various autocompelte input boxes.">
<div class="inline-drawer-toggle inline-drawer-header userSettingsInnerExpandable" title="Options for the various autocomplete input boxes.">
<b><span data-i18n="AutoComplete Settings">AutoComplete Settings</span></b>
<div class="fa-solid fa-circle-chevron-down inline-drawer-icon down"></div>
</div>
@ -5233,19 +5233,19 @@
<span class="ch_name flex1"></span>
<div class="avatar-buttons">
<button class="menu_button bind_user_name" title="Bind user name to that avatar" data-i18n="[title]Bind user name to that avatar">
<i class="fa-fw fa-solid fa-user-edit"></i>
<i class="fa-fw fa-solid fa-user-edit fa-sm"></i>
</button>
<button class="menu_button set_persona_image" title="Change persona image" data-i18n="[title]Change persona image">
<i class="fa-fw fa-solid fa-image"></i>
<i class="fa-fw fa-solid fa-image fa-sm"></i>
</button>
<button class="menu_button set_default_persona" title="Select this as default persona for the new chats." data-i18n="[title]Select this as default persona for the new chats.">
<i class="fa-fw fa-solid fa-crown"></i>
<i class="fa-fw fa-solid fa-crown fa-sm"></i>
</button>
<button class="menu_button duplicate_persona" title="Duplicate persona" data-i18n="[title]Duplicate persona">
<i class="fa-fw fa-solid fa-clone"></i>
<i class="fa-fw fa-solid fa-clone fa-sm"></i>
</button>
<button class="menu_button delete_avatar" title="Delete persona" data-i18n="[title]Delete persona">
<i class="fa-fw fa-solid fa-trash-alt"></i>
<i class="fa-fw fa-solid fa-trash-alt fa-sm"></i>
</button>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -364,7 +364,7 @@ function onToggleLogprobsPanel() {
function createSwipe(messageId, prompt) {
// need to call `cleanUpMessage` on our new prompt, because we were working
// with raw model output and our new prompt is missing trimming/macro replacements
const cleanedPrompt = cleanUpMessage(prompt, false, false);
const cleanedPrompt = cleanUpMessage(prompt, false, false, true);
const msg = chat[messageId];
const newSwipeInfo = {

View File

@ -3164,7 +3164,7 @@ grammarly-extension {
.avatar-container .avatar-buttons {
display: flex;
flex-direction: row;
gap: 5px;
gap: 3px;
opacity: 0.3;
transition: opacity 0.25s ease-in-out;
}