We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e907ce4 commit d92a44fCopy full SHA for d92a44f
mellea/stdlib/sampling.py
@@ -150,6 +150,10 @@ def sample(
150
151
flog = FancyLogger.get_logger()
152
153
+ # The `logging_redirect_tqdm` approach did not work, so instead we will use the show_progress
154
+ # flag to determine whether we should show the pbar.
155
+ show_progress = show_progress and flog.getEffectiveLevel() <= FancyLogger.INFO
156
+
157
failed_results: list[ModelOutputThunk] = []
158
failed_scores: list[list[tuple[Requirement, ValidationResult]]] = []
159
failed_instructions: list[Instruction] = []
0 commit comments