Skip to content

Commit 241bbbb

Browse files
committed
Condense ai imports into single line
Combine getToolName, isToolUIPart, and UIMessage type imports from 'ai' into a single-line import for cleaner formatting and reduced vertical whitespace; no functional change.
1 parent 63965d7 commit 241bbbb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/app.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import { Suspense, useCallback, useState, useEffect, useRef } from "react";
22
import { useAgent } from "agents/react";
33
import { useAgentChat } from "@cloudflare/ai-chat/react";
4-
import {
5-
getToolName,
6-
isToolUIPart,
7-
type UIMessage,
8-
} from "ai";
4+
import { getToolName, isToolUIPart, type UIMessage } from "ai";
95
import type { MCPServersState } from "agents";
106
import type { ChatAgent } from "./server";
117
import {

0 commit comments

Comments
 (0)