feat: close #1626 hide context prompts in mask config

This commit is contained in:
Yidadaa
2023-05-20 20:08:17 +08:00
parent af497c96ec
commit 6d8c7ba140
5 changed files with 41 additions and 14 deletions

View File

@@ -585,7 +585,9 @@ export function Chat() {
inputRef.current?.focus();
};
const context: RenderMessage[] = session.mask.context.slice();
const context: RenderMessage[] = session.mask.hideContext
? []
: session.mask.context.slice();
const accessStore = useAccessStore();