From ab38cc2cc0e1596a17084d777f6975ae87a17e58 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Thu, 13 Mar 2025 14:36:07 +0100 Subject: [PATCH] Further cleanup --- docs/docs/cloud/how-tos/generative_ui_react.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/cloud/how-tos/generative_ui_react.md b/docs/docs/cloud/how-tos/generative_ui_react.md index e5ba4b0e3..9f8efb203 100644 --- a/docs/docs/cloud/how-tos/generative_ui_react.md +++ b/docs/docs/cloud/how-tos/generative_ui_react.md @@ -77,7 +77,6 @@ CSS and Tailwind 4.x is also supported out of the box, so you can freely use Tai Use the `typedUi` utility to emit UI elements from your agent nodes: ```typescript title="src/agent/index.ts" -import type ComponentMap from "./ui.js"; import { typedUi, uiMessageReducer, @@ -87,6 +86,8 @@ import { ChatOpenAI } from "@langchain/openai"; import { v4 as uuidv4 } from "uuid"; import { z } from "zod"; +import type ComponentMap from "./ui.js"; + import { Annotation, MessagesAnnotation,