Skip to content

Commit ac10bf5

Browse files
committed
👌 IMPROVE: Code
1 parent 732f108 commit ac10bf5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/scripts/release-snapshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ bumpVersion('./packages/langbase/package.json');
6666
run(`pnpm changeset version --snapshot ${SHORT_SHA}`);
6767

6868
// Build and publish the snapshot release
69-
run('pnpm build');
69+
run('pnpm build:pkgs');
7070
run('pnpm changeset publish --no-git-tag --tag snapshot');
7171

7272
// Reset Git changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"prepare": "husky",
88
"lint": "turbo lint",
99
"test": "turbo test",
10-
"build": "turbo build",
10+
"build:pkgs": "turbo run build --filter=./packages/*",
1111
"changeset": "changeset",
1212
"publint": "turbo publint",
1313
"type-check": "turbo type-check",

packages/langbase/src/pipes/pipes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ export class Pipe {
120120
apiKey: options.apiKey, // Langbase API key
121121
name: options.name?.trim() || '', // Pipe name
122122
prod: true,
123+
// default values
124+
model: 'openai:gpt-4o-mini',
125+
tools: [],
123126
} as any);
124127
}
125128

0 commit comments

Comments
 (0)