chore: fix some typos

Signed-off-by: zoupingshi <hangfachang@outlook.com>
This commit is contained in:
zoupingshi
2025-02-08 12:14:01 +08:00
parent 4271b652a5
commit d39a274ef8
2 changed files with 3 additions and 3 deletions

View File

@@ -572,13 +572,13 @@ async def chat_image_generation_handler(
{
"type": "status",
"data": {
"description": f"An error occured while generating an image",
"description": f"An error occurred while generating an image",
"done": True,
},
}
)
system_message_content = "<context>Unable to generate an image, tell the user that an error occured</context>"
system_message_content = "<context>Unable to generate an image, tell the user that an error occurred</context>"
if system_message_content:
form_data["messages"] = add_or_update_system_message(