upgrade ai sdk to v5
This commit is contained in:
+3
-2
@@ -1,5 +1,6 @@
|
||||
import { Low } from "lowdb";
|
||||
import { JSONFile } from "lowdb/node";
|
||||
import type { CommittedMessage } from "../types";
|
||||
|
||||
export type Conversation = {
|
||||
id: string;
|
||||
@@ -27,7 +28,7 @@ export type FactTrigger = {
|
||||
|
||||
type DB = {
|
||||
conversations: Array<Conversation>;
|
||||
messages: Array<{
|
||||
messages: Array</*{
|
||||
id: string;
|
||||
conversationId: string;
|
||||
content: string;
|
||||
@@ -35,7 +36,7 @@ type DB = {
|
||||
index: number;
|
||||
createdAt: string;
|
||||
runningSummary?: string;
|
||||
}>;
|
||||
}*/ CommittedMessage>;
|
||||
facts: Array<Fact>;
|
||||
factTriggers: Array<FactTrigger>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user