feat: v1 — persistent shell, model gateway, artifact improvements (#1462)
This commit is contained in:
parent
3651670fb9
commit
f9652b452a
161 changed files with 5166 additions and 8009 deletions
|
|
@ -1,14 +1,12 @@
|
|||
import type { InferUITool, UIMessage } from "ai";
|
||||
import { z } from "zod";
|
||||
import type { ArtifactKind } from "@/components/artifact";
|
||||
import type { ArtifactKind } from "@/components/chat/artifact";
|
||||
import type { createDocument } from "./ai/tools/create-document";
|
||||
import type { getWeather } from "./ai/tools/get-weather";
|
||||
import type { requestSuggestions } from "./ai/tools/request-suggestions";
|
||||
import type { updateDocument } from "./ai/tools/update-document";
|
||||
import type { Suggestion } from "./db/schema";
|
||||
|
||||
export type DataPart = { type: "append-message"; message: string };
|
||||
|
||||
export const messageMetadataSchema = z.object({
|
||||
createdAt: z.string(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue