Add timestamp to messages
This commit is contained in:
@@ -59,6 +59,7 @@ export const streamGoogle: StreamFunction<"google-generative-ai"> = (
|
||||
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, total: 0 },
|
||||
},
|
||||
stopReason: "stop",
|
||||
timestamp: Date.now(),
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user