We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4c5cf6 commit da9b5bbCopy full SHA for da9b5bb
evals/git-evals/runners/codebuff.ts
@@ -80,6 +80,14 @@ export class CodebuffRunner implements Runner {
80
} else if (event.type === 'tool_result') {
81
toolResults.push(event as any)
82
console.log('\n\n' + JSON.stringify(event, null, 2))
83
+ } else if (event.type === 'finish') {
84
+ if (
85
+ responseText.length > 0 ||
86
+ toolCalls.length > 0 ||
87
+ toolResults.length > 0
88
+ ) {
89
+ flushStep()
90
+ }
91
}
92
},
93
handleStreamChunk: (chunk) => {
0 commit comments