Render images to take full width of chat message div

Remove unnecessary "Inferred Query" heading prefix to image generation prompt
used by Khoj. The inferred query in chat message has a heading of it's
own, so avoid two headings for the image prompt
This commit is contained in:
Debanjum Singh Solanky
2024-09-28 06:15:50 -07:00
parent 4efa7d4464
commit 936bc64b82
3 changed files with 10 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ export function handleImageResponse(imageJson: any, liveStream: boolean): Respon
rawResponse = `![](data:image/webp;base64,${imageJson.image})`;
}
if (inferredQuery && !liveStream) {
rawResponse += `\n\n**Inferred Query**:\n\n${inferredQuery}`;
rawResponse += `\n\n${inferredQuery}`;
}
}