File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ export const extractTool: ToolConfig<ParallelExtractParams, ToolResponse> = {
7878 if ( ! data . results ) {
7979 return {
8080 success : false ,
81+ error : 'No results returned from extraction' ,
8182 output : {
82- error : 'No results returned from extraction' ,
8383 results : [ ] ,
8484 extract_id : data . extract_id ?? null ,
8585 } ,
Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ export const searchTool: ToolConfig<ParallelSearchParams, ToolResponse> = {
122122 if ( ! data . results ) {
123123 return {
124124 success : false ,
125+ error : 'No results returned from search' ,
125126 output : {
126- error : 'No results returned from search' ,
127127 results : [ ] ,
128128 search_id : data . search_id ?? null ,
129129 } ,
You can’t perform that action at this time.
0 commit comments