feat: Show character avatar in chat - split view on desktop, background on mobile

This commit is contained in:
Alexej Wolff
2026-05-05 00:48:39 +02:00
parent dad5aa47cb
commit bbefa114f8
5 changed files with 399 additions and 165 deletions
+8 -1
View File
@@ -123,7 +123,14 @@ async function generateImageFromPrompt(prompt: string): Promise<string> {
export async function generateAvatarUrl(
options: GenerateAvatarOptions,
): Promise<string> {
const { description, name, age = "adult", gender = "female", customPrompt, isNsfw } = options;
const {
description,
name,
age = "adult",
gender = "female",
customPrompt,
isNsfw,
} = options;
// If custom prompt provided - use it directly
if (customPrompt && customPrompt.trim()) {