File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
src/gradient/resources/knowledge_bases Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ def main() -> None:
4343 print ("\n ✅ Indexing job completed successfully!" )
4444 if completed_job .job :
4545 print (f"Phase: { completed_job .job .phase } " )
46- print (f"Total items indexed: { completed_job .job .total_items_indexed } " )
47- print (f"Total items failed: { completed_job .job .total_items_failed } " )
4846 print (f"Total datasources: { completed_job .job .total_datasources } " )
4947 print (f"Completed datasources: { completed_job .job .completed_datasources } " )
5048
Original file line number Diff line number Diff line change @@ -367,9 +367,7 @@ def wait_for_completion(
367367 # Failure states
368368 if phase == "BATCH_JOB_PHASE_FAILED" :
369369 raise IndexingJobError (
370- f"Indexing job { uuid } failed. "
371- f"Total items indexed: { response .job .total_items_indexed } , "
372- f"Total items failed: { response .job .total_items_failed } " ,
370+ f"Indexing job { uuid } failed. " ,
373371 uuid = uuid ,
374372 phase = phase ,
375373 )
@@ -737,9 +735,7 @@ async def wait_for_completion(
737735 # Failure states
738736 if phase == "BATCH_JOB_PHASE_FAILED" :
739737 raise IndexingJobError (
740- f"Indexing job { uuid } failed. "
741- f"Total items indexed: { response .job .total_items_indexed } , "
742- f"Total items failed: { response .job .total_items_failed } " ,
738+ f"Indexing job { uuid } failed. " ,
743739 uuid = uuid ,
744740 phase = phase ,
745741 )
You can’t perform that action at this time.
0 commit comments