File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import type {
2626 requestToolCall as originalRequestToolCall ,
2727} from '@codebuff/backend/websockets/websocket-action'
2828import type { FileChanges } from '@codebuff/common/actions'
29- import type { PrintModeObject } from '@codebuff/common/types/print-mode'
29+ import type { PrintModeEvent } from '@codebuff/common/types/print-mode'
3030import type {
3131 AgentState ,
3232 AgentTemplateType ,
@@ -158,14 +158,15 @@ export async function runAgentStepScaffolding(
158158 mockWs . close = mock ( )
159159
160160 let fullResponse = ''
161- const { agentTemplates : localAgentTemplates } = assembleLocalAgentTemplates ( fileContext )
161+ const { agentTemplates : localAgentTemplates } =
162+ assembleLocalAgentTemplates ( fileContext )
162163
163164 const result = await runAgentStep ( mockWs , {
164165 userId : TEST_USER_ID ,
165166 userInputId : generateCompactId ( ) ,
166167 clientSessionId : sessionId ,
167168 fingerprintId : 'test-fingerprint-id' ,
168- onResponseChunk : ( chunk : string | PrintModeObject ) => {
169+ onResponseChunk : ( chunk : string | PrintModeEvent ) => {
169170 if ( typeof chunk !== 'string' ) {
170171 return
171172 }
You can’t perform that action at this time.
0 commit comments