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