change image gen role to assistant

This commit is contained in:
2023-12-22 12:52:11 +08:00
parent 6a77ddc21a
commit 8542a44817

View File

@@ -228,7 +228,7 @@ export function AddImage({
if (!url) continue;
chatStore.history.push({
role: "user",
role: "assistant",
content: [
{
type: "image_url",