@@ -81,7 +81,13 @@ it.effect("runs Pi offline, since the process is stopped as soon as it answers",
8181 return pi . spawner . spawn ( command ) ;
8282 } ) ;
8383 const textGeneration = yield * makePiTextGeneration (
84- { enabled : true , binaryPath : "pi" , launchArgs : "" , customModels : [ ] } ,
84+ {
85+ enabled : true ,
86+ binaryPath : "pi" ,
87+ launchArgs : "" ,
88+ eagerCompletionGatewayTools : true ,
89+ customModels : [ ] ,
90+ } ,
8591 { } ,
8692 ) . pipe ( Effect . provideService ( ChildProcessSpawner . ChildProcessSpawner , spawner ) ) ;
8793
@@ -143,7 +149,13 @@ it.effect("selects the provider and id Pi reported when the provider contains a
143149 [ { provider, id : "qwen3" } ] ,
144150 ) ;
145151 const textGeneration = yield * makePiTextGeneration (
146- { enabled : true , binaryPath : "pi" , launchArgs : "" , customModels : [ ] } ,
152+ {
153+ enabled : true ,
154+ binaryPath : "pi" ,
155+ launchArgs : "" ,
156+ eagerCompletionGatewayTools : true ,
157+ customModels : [ ] ,
158+ } ,
147159 { } ,
148160 ) . pipe ( Effect . provideService ( ChildProcessSpawner . ChildProcessSpawner , pi . spawner ) ) ;
149161
@@ -176,7 +188,13 @@ const generateCommitMessage = (turnEvents: ReadonlyArray<Record<string, unknown>
176188 Effect . gen ( function * ( ) {
177189 const pi = yield * makeFakePi ( reply , undefined , turnEvents ) ;
178190 const textGeneration = yield * makePiTextGeneration (
179- { enabled : true , binaryPath : "pi" , launchArgs : "" , customModels : [ ] } ,
191+ {
192+ enabled : true ,
193+ binaryPath : "pi" ,
194+ launchArgs : "" ,
195+ eagerCompletionGatewayTools : true ,
196+ customModels : [ ] ,
197+ } ,
180198 { } ,
181199 ) . pipe ( Effect . provideService ( ChildProcessSpawner . ChildProcessSpawner , pi . spawner ) ) ;
182200 return yield * textGeneration . generateCommitMessage ( {
0 commit comments