support example_user and example_assistant

This commit is contained in:
2023-07-12 00:40:03 +08:00
parent 1b558a8194
commit 32bf692386
4 changed files with 26 additions and 1 deletions

View File

@@ -157,6 +157,17 @@ export default function Message(props: Props) {
</div>
</div>
)}
<span>
<label>example</label>
<input
type="checkbox"
checked={chat.example}
onChange={(event: any) => {
chat.example = event.target.checked;
setChatStore({ ...chatStore });
}}
/>
</span>
</div>
)}
</div>