Update app.py
Browse files487 unmodified lines488489490491491492493494487 unmodified lines if attempt == max_attempts - 1: return f"I apologize, but an unexpected error occurred. Please try again with a different question."
return "An unexpected error occurred. Please try again later."." return "An unexpected error occurred. Please try again later."
def extract_answer(full_response, instructions=None): answer_patterns = [app.py+1-1