Skip to content

Commit 862ae96

Browse files
authored
Merge branch 'main' into feat/converse-api
2 parents b0e32c9 + 6e2d696 commit 862ae96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/google-vertex-ai/imageGenerate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const GoogleImageGenResponseTransform: (
153153

154154
if ('predictions' in response) {
155155
return {
156-
created: `${new Date().getTime()}`,
156+
created: Math.floor(Date.now() / 1000),
157157
data: response.predictions.map((generation) => ({
158158
b64_json: generation.bytesBase64Encoded,
159159
})),

0 commit comments

Comments
 (0)