File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
node-version : ' 18'
24
24
25
- - name : Install dependencies
26
- run : yarn install
25
+ - name : Bootstrap
26
+ run : ./scripts/bootstrap
27
27
28
28
- name : Check types
29
29
run : ./scripts/lint
41
41
with :
42
42
node-version : ' 18'
43
43
44
- - name : Install dependencies
45
- run : yarn install
44
+ - name : Bootstrap
45
+ run : ./scripts/bootstrap
46
46
47
47
- name : Check build
48
48
run : ./scripts/build
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ async function main() {
13
13
stream : true ,
14
14
logprobs : true ,
15
15
} )
16
- . on ( 'logprob ' , ( logprob ) => {
16
+ . on ( 'logprobs.content.delta ' , ( logprob ) => {
17
17
console . log ( logprob ) ;
18
18
} ) ;
19
19
Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ echo "==> Installing Node dependencies…"
16
16
PACKAGE_MANAGER=$( command -v yarn > /dev/null 2>&1 && echo " yarn" || echo " npm" )
17
17
18
18
$PACKAGE_MANAGER install
19
+
20
+ cd " $( dirname " $0 " ) /../examples"
21
+ $PACKAGE_MANAGER install
You can’t perform that action at this time.
0 commit comments