Skip to content

Commit 19a1e0e

Browse files
committed
fix: build
Signed-off-by: Neko Ayaka <[email protected]>
1 parent a770e3e commit 19a1e0e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/neuri/src/openai/stream.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export async function stream(params: StreamTextOptions): Promise<StreamResponse>
113113
return ''
114114
}
115115

116-
return value.choices[0].delta.content
116+
return value.choices[0].delta.content || ''
117117
},
118118
}
119119
},

pnpm-workspace.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
packages:
2-
- 'packages/**'
3-
- 'examples/**'
2+
- packages/**
3+
- examples/**
44
- '!**/dist/**'
55
- docs
6+
onlyBuiltDependencies:
7+
- esbuild

0 commit comments

Comments
 (0)