@@ -23,9 +23,9 @@ import remarkGfm from "remark-gfm";
2323import { v4 as uuidv4 } from "uuid" ;
2424
2525const queries = [
26- "Build me an interactive presentation for 1 S Main St, Bel Air, MD 21014 for use as a Restaurant " ,
27- "Build me an interactive presentation for 123 Market Street, San Francisco, CA 94105 for use as a Retail " ,
28- "Build me an interactive presentation for 555 Madison Avenue, New York, NY 10022 for use as an Office " ,
26+ "Plan a placestory highlighting the redevelopment of 1 S Main St, Bel Air, MD 21014 into a farm-to-table dining destination. " ,
27+ "Design a placestory showcasing 123 Market Street, San Francisco, CA 94105 as an innovative retail hub for emerging brands. " ,
28+ "Craft a placestory that positions 555 Madison Avenue, New York, NY 10022 as a premium corporate headquarters for finance firms. " ,
2929] ;
3030
3131export const Chat = ( ) => {
@@ -225,7 +225,7 @@ const ChatMessages = ({
225225 const messagesEndRef = useRef < HTMLDivElement > ( null ) ;
226226 const scrollContainerRef = useRef < HTMLDivElement > ( null ) ;
227227 const [ showCopiedMessage , setShowCopiedMessage ] = useState ( false ) ;
228- const { streamId , jobStatus } = useUserStore ( ) ;
228+ const { jobStatus , isProcessingMessage } = useUserStore ( ) ;
229229
230230 console . log ( "Job status: " , jobStatus ) ;
231231
@@ -307,7 +307,7 @@ const ChatMessages = ({
307307 < div className = "flex items-center justify-start gap-2 mt-3" >
308308 < span className = "w-2 h-2 rounded-full bg-orange-600" > </ span >
309309 < span className = "text-xs text-border font-light" >
310- IP Agent
310+ Placestory
311311 </ span >
312312 </ div >
313313 ) }
@@ -483,7 +483,7 @@ const ChatMessages = ({
483483 </ ReactMarkdown >
484484
485485 { /* Copy button for assistant messages only */ }
486- { message . type === "assistant" && ! streamId && (
486+ { message . type === "assistant" && ! isProcessingMessage && (
487487 < div className = "flex items-center justify-end gap-2" >
488488 < Tooltip >
489489 < TooltipTrigger >
0 commit comments