File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 node-version : ' 18'
2424
25- - name : Install dependencies
26- run : yarn install
25+ - name : Bootstrap
26+ run : ./scripts/bootstrap
2727
2828 - name : Check types
2929 run : ./scripts/lint
4141 with :
4242 node-version : ' 18'
4343
44- - name : Install dependencies
45- run : yarn install
44+ - name : Bootstrap
45+ run : ./scripts/bootstrap
4646
4747 - name : Check build
4848 run : ./scripts/build
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ async function main() {
1313 stream : true ,
1414 logprobs : true ,
1515 } )
16- . on ( 'logprob ' , ( logprob ) => {
16+ . on ( 'logprobs.content.delta ' , ( logprob ) => {
1717 console . log ( logprob ) ;
1818 } ) ;
1919
Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ echo "==> Installing Node dependencies…"
1616PACKAGE_MANAGER=$( command -v yarn > /dev/null 2>&1 && echo " yarn" || echo " npm" )
1717
1818$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