chore
This commit is contained in:
parent
32c386799d
commit
87a86042d2
@ -122,7 +122,7 @@ export const MessagesEditor: FC = observer(() => {
|
|||||||
}}>
|
}}>
|
||||||
<Option value="user">{t('user')!}</Option>
|
<Option value="user">{t('user')!}</Option>
|
||||||
<Option value="assistant">{t('assistant')!}</Option>
|
<Option value="assistant">{t('assistant')!}</Option>
|
||||||
<Option value="system">{t('system')!}</Option>
|
{/* TODO <Option value="system">{t('system')!}</Option>*/}
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
<Textarea resize="vertical" className="grow" value={item.content}
|
<Textarea resize="vertical" className="grow" value={item.content}
|
||||||
style={{ minWidth: 0, borderRadius: 0 }}
|
style={{ minWidth: 0, borderRadius: 0 }}
|
||||||
|
@ -248,10 +248,9 @@ export const ChatPresetEditor: FC<{
|
|||||||
name: data.value
|
name: data.value
|
||||||
});
|
});
|
||||||
}} />
|
}} />
|
||||||
<ToolTipButton desc={!editingMessages ? t('Edit Messages') : t('Go Back')}
|
<Button onClick={() => {
|
||||||
icon={!editingMessages ? <Chat20Regular /> : <Dismiss20Regular />} onClick={() => {
|
|
||||||
setEditingMessages(!editingMessages);
|
setEditingMessages(!editingMessages);
|
||||||
}} />
|
}}>{!editingMessages ? t('Edit Messages') : t('Go Back')}</Button>
|
||||||
</div>
|
</div>
|
||||||
} />
|
} />
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user