File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ export const empty: Effect.Effect<Service> = Effect.gen(function*() {
380380 ) ,
381381 streamText : Effect . fnUntraced (
382382 function * ( options ) {
383- let parts = Chunk . empty < Response . StreamPart < any > > ( )
383+ let parts = Chunk . empty < Response . AnyPart > ( )
384384 return Stream . fromChannel ( Channel . acquireUseRelease (
385385 semaphore . take ( 1 ) . pipe (
386386 Effect . zipRight ( Ref . get ( history ) ) ,
@@ -389,7 +389,7 @@ export const empty: Effect.Effect<Service> = Effect.gen(function*() {
389389 ( prompt ) =>
390390 LanguageModel . streamText ( { ...options , prompt } ) . pipe (
391391 Stream . mapChunks ( ( chunk ) => {
392- parts = Chunk . appendAll ( parts , chunk ) as Chunk . Chunk < Response . StreamPart < any > >
392+ parts = Chunk . appendAll ( parts , chunk )
393393 return chunk
394394 } ) ,
395395 Stream . toChannel
You can’t perform that action at this time.
0 commit comments