Skip to content

Commit f8b26f6

Browse files
committed
rename PrintModeObject to PrintModeEvent in evals
1 parent 1781d22 commit f8b26f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

evals/scaffolding.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import type {
2626
requestToolCall as originalRequestToolCall,
2727
} from '@codebuff/backend/websockets/websocket-action'
2828
import 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'
3030
import 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
}

0 commit comments

Comments
 (0)