We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d0d728 commit 63965d7Copy full SHA for 63965d7
src/server.ts
@@ -1,13 +1,13 @@
1
import { createWorkersAI } from "workers-ai-provider";
2
-import { routeAgentRequest, callable, type Schedule } from "agents";
+import { callable, routeAgentRequest, type Schedule } from "agents";
3
import { getSchedulePrompt, scheduleSchema } from "agents/schedule";
4
import { AIChatAgent, type OnChatMessageOptions } from "@cloudflare/ai-chat";
5
import {
6
- streamText,
7
convertToModelMessages,
8
pruneMessages,
9
- tool,
10
stepCountIs,
+ streamText,
+ tool,
11
type ModelMessage
12
} from "ai";
13
import { z } from "zod";
0 commit comments