+
= ({
height={300}
className="max-w-xs max-h-64 rounded-md object-contain"
/>
+
+
+
)}
{textPart &&
{textPart}
}
diff --git a/lib/actions/chat.ts b/lib/actions/chat.ts
index c257d6e8..85b90b0c 100644
--- a/lib/actions/chat.ts
+++ b/lib/actions/chat.ts
@@ -162,8 +162,7 @@ export async function saveChat(chat: OldChatType, userId: string): Promise
(`system_prompt:${userId}`)
+ const prompt = await client.get(`system_prompt:${userId}`)
return prompt
} catch (error) {
console.error('getSystemPrompt: Error retrieving system prompt:', error)