Skip to content

Commit 8799f0c

Browse files
authored
Update models.py
1 parent 8426f73 commit 8799f0c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/pyob/models.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,6 @@ def get_valid_llm_response_engine(
381381

382382
# If still invalid, back off and retry
383383
wait = 300 if is_cloud else 10
384-
385-
# --- ADD THIS LINE SO YOU CAN SEE WHAT IT FAILED ON ---
386-
logger.error(f"Validation Failed! The AI said: '{response_text}'")
387-
388384
logger.warning(f"AI response failed validation. Backing off {wait}s...")
389385
time.sleep(wait)
390386
attempts += 1

0 commit comments

Comments
 (0)