File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import path from 'path'
44
55import { disableLiveUserInputCheck } from '@codebuff/backend/live-user-inputs'
66import { promptAiSdkStructured } from '@codebuff/backend/llm-apis/vercel-ai-sdk/ai-sdk'
7+ import { errorToObject } from '@codebuff/common/util/object'
78import { withTimeout } from '@codebuff/common/util/promise'
89import { generateCompactId } from '@codebuff/common/util/string'
910import { cloneDeep } from 'lodash'
@@ -247,7 +248,7 @@ Explain your reasoning in detail.`,
247248 return {
248249 ...evalRun ,
249250 judging_results : {
250- analysis : ' Judging failed due to error' ,
251+ analysis : ` Judging failed due to error:\n ${ judgingError instanceof Error ? errorToObject ( judgingError ) : JSON . stringify ( judgingError ) } ` ,
251252 strengths : [ ] ,
252253 weaknesses : [ 'Judging process encountered an error' ] ,
253254 metrics : {
You can’t perform that action at this time.
0 commit comments