feat: Show character avatar in chat - split view on desktop, background on mobile
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user