Skip to content

Commit 5dd8226

Browse files
committed
👌 IMPROVE: Bump packages versions
1 parent 875b7ba commit 5dd8226

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

examples/nextjs/app/langbase/pipe/run-stream/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export async function POST(req: NextRequest) {
77
// 1. Initiate the Pipe.
88
const myPipe = new Pipe({
99
apiKey: process.env.LANGBASE_API_KEY!,
10-
name: 'summary',
1110
});
1211

1312
// 2. Generate a stream by asking a question
1413
const {stream, threadId} = await myPipe.run({
1514
messages: [{role: 'user', content: prompt}],
1615
stream: true,
16+
name: 'summary',
1717
});
1818

1919
// 3. Done, return the stream in a readable stream format.

examples/nextjs/app/langbase/pipe/run/route.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ export async function POST(req: NextRequest) {
77
// 1. Initiate the Pipe.
88
const myPipe = new Pipe({
99
apiKey: process.env.LANGBASE_API_KEY!,
10-
name: 'summary',
1110
});
1211

1312
// 2. Generate a stream by asking a question
1413
const result = await myPipe.run({
1514
messages: [{role: 'user', content: prompt}],
16-
stream: false,
15+
name: 'summary',
1716
});
1817

1918
// 3. Done, return the stream in a readable stream format.

examples/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@radix-ui/react-slot": "^1.1.0",
1313
"class-variance-authority": "^0.7.0",
1414
"clsx": "^2.1.1",
15-
"langbase": "^1.1.5",
15+
"langbase": "^1.1.6",
1616
"lucide-react": "^0.416.0",
1717
"mxcn": "^2.0.0",
1818
"next": "14.2.5",

examples/nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"license": "UNLICENSED",
3232
"dependencies": {
3333
"dotenv": "^16.4.5",
34-
"langbase": "^1.1.5"
34+
"langbase": "^1.1.6"
3535
}
3636
}

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)