@probelabs/probe 0.6.0-rc148 → 0.6.0-rc150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -920,9 +920,7 @@ Examples:
920
920
  </search>
921
921
 
922
922
  <extract>
923
- <path>src/config.js</path>
924
- <start_line>15</start_line>
925
- <end_line>25</end_line>
923
+ <targets>src/config.js:15-25</targets>
926
924
  </extract>
927
925
 
928
926
  <attempt_completion>
@@ -1833,7 +1831,7 @@ Convert your previous response content into actual JSON data that follows this s
1833
1831
  });
1834
1832
  }
1835
1833
 
1836
- let validation = validateJsonResponse(finalResult, { debug: this.debug });
1834
+ let validation = validateJsonResponse(finalResult, { debug: this.debug, schema: options.schema });
1837
1835
  let retryCount = 0;
1838
1836
  const maxRetries = 3;
1839
1837
 
@@ -1884,7 +1882,7 @@ Convert your previous response content into actual JSON data that follows this s
1884
1882
  );
1885
1883
 
1886
1884
  // Validate the corrected response
1887
- currentValidation = validateJsonResponse(currentResult, { debug: this.debug });
1885
+ currentValidation = validateJsonResponse(currentResult, { debug: this.debug, schema: options.schema });
1888
1886
  retryCount++;
1889
1887
 
1890
1888
  if (this.debug) {