{/* Top Bar */}
-
Chat
+
+ {isImageMode ? 'Image Generation' : 'Chat'}
+
@@ -128,30 +136,33 @@ export function ChatInterface({ conversation, onNewMessage }: ChatInterfaceProps
- {/* Messages Area */}
-
-
-
-
- {/* Input Area */}
-
+ {isImageMode ? (
+
+ ) : (
+ <>
+
+
+
+
+ >
+ )}
{/* Right Configuration Panel Toggle */}
diff --git a/components/chat/image-generation.tsx b/components/chat/image-generation.tsx
new file mode 100644
index 0000000..f4b4f57
--- /dev/null
+++ b/components/chat/image-generation.tsx
@@ -0,0 +1,70 @@
+'use client'
+
+import { useState } from 'react'
+import { Button } from '@/components/ui/button'
+import { Input } from '@/components/ui/input'
+import { Card } from '@/components/ui/card'
+import Image from 'next/image'
+
+export function ImageGeneration() {
+ const [prompt, setPrompt] = useState('')
+ const [isLoading, setIsLoading] = useState(false)
+ const [generatedImage, setGeneratedImage] = useState