Skip to content

Commit 12c3b79

Browse files
committed
👌 IMPROVE: update the workflow example
1 parent 406a8b9 commit 12c3b79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/nodejs/examples/workflows/workflows.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ async function main() {
1111
const result = await step({
1212
id: 'sumamrize',
1313
run: async () => {
14-
return langbase.pipes.run({
15-
name: 'summarize',
14+
return langbase.llm.run({
15+
model: 'openai:gpt-4o-mini',
16+
llmKey: process.env.OPENAI_API_KEY!,
1617
messages: [
1718
{
1819
role: 'system',

0 commit comments

Comments
 (0)