diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 6e68e50b..4e2465b4 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -54,9 +54,9 @@ export default function App() { title: "Reflection", data: event.reflection.is_sufficient ? "Search successful, generating final answer." - : `Need more information, searching for ${event.reflection.follow_up_queries.join( + : `Need more information, searching for ${event.reflection.follow_up_queries?.join( ", " - )}`, + ) || "additional queries"}`, }; } else if (event.finalize_answer) { processedEvent = {