Skip to content

Commit

Permalink
Merge pull request giselles-ai#227 from toyamarinyon/smooth-stream
Browse files Browse the repository at this point in the history
chore(deps): Upgrade AI SDK packages for compatibility
  • Loading branch information
toyamarinyon authored Dec 13, 2024
2 parents 85d8018 + 70d3600 commit d2bdbe6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/(playground)/p/[agentId]/canary/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function resolveLanguageModel(
defaultObjectGenerationMode: "json",
doStream: async () => ({
stream: simulateReadableStream({
values: [{ type: "error", error: "a" }],
chunks: [{ type: "error", error: "a" }],
}),
rawCall: { rawPrompt: null, rawSettings: {} },
}),
Expand Down Expand Up @@ -311,7 +311,7 @@ export async function action(
},
});
(async () => {
const { partialObjectStream, object } = await streamObject({
const { partialObjectStream, object } = streamObject({
model,
prompt,
schema: jsonSchema<v.InferInput<typeof artifactSchema>>(
Expand Down
Binary file modified bun.lockb
Binary file not shown.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"packageManager": "[email protected]",
"dependencies": {
"@ai-sdk/anthropic": "0.0.56",
"@ai-sdk/google": "1.0.7",
"@ai-sdk/openai": "0.0.72",
"@ai-sdk/anthropic": "1.0.5",
"@ai-sdk/google": "1.0.10",
"@ai-sdk/openai": "1.0.8",
"@icons-pack/react-simple-icons": "10.0.0",
"@lucide/lab": "0.1.2",
"@mendable/firecrawl-js": "1.6.1",
Expand Down Expand Up @@ -60,7 +60,7 @@
"@vercel/postgres": "0.9.0",
"@vercel/speed-insights": "1.0.12",
"@xyflow/react": "12.0.3",
"ai": "3.4.33",
"ai": "4.0.16",
"boring-avatars": "1.11.1",
"class-variance-authority": "^0.7.0",
"clsx": "2.1.1",
Expand Down

0 comments on commit d2bdbe6

Please sign in to comment.