Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eli5/src/ai/flows/storify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export const storify = ai.defineFlow(
latestChunk = latest;
sendChunk(latestChunk);
};
update({ status: "Researching topic..." });
update({ status: "Generating lesson plan..." });
const { text: lesson } = await generateLesson({ question });
update({ status: "Research complete, generating lesson..." });
update({ status: "Plan complete, generating lesson..." });
const { output } = await generateStorybook(
{ lesson },
{
Expand Down
2 changes: 1 addition & 1 deletion eli5/src/client/components/story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function Story({
<div className="fixed inset-0 z-20 flex flex-col items-center justify-center bg-background/80 backdrop-blur-sm">
<Loader />
<div className="mt-4 text-lg">
{storybook.status || "Preparing to research..."}
{storybook.status || "Preparing to start lesson planning..."}
</div>
</div>
)}
Expand Down