Skip to content

Skip section selection if there are less than 3 sections to pick from

DErenrich requested to merge derenrich/conditionally-skip-section-selection into main

If after search wikipedia there are only 3 sections there's no reason to do section selection since we will always take the top 3 anyways. This code breaks the process right before sending the data to chatgpt and instead just hardcodes the answer to be the only remaining sections.

Merge request reports