We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e2f0ef commit b5f3fecCopy full SHA for b5f3fec
1 file changed
app/math_tutor.py
@@ -66,8 +66,8 @@ def process_input(self, submission: str, exemplary_solution: str, temperature: f
66
except ValueError:
67
raise ValueError(f"Submissions that are provided without an exemplary answer must be formatted as a question and answer separated by 'Answer:'.")
68
# Check submission length
69
- if len(submission) > 5000:
70
- return "I apologize, but your submission is too long. Please limit your submission to 5000 characters or less.", "incorrect"
+ # if len(submission) > 5000:
+ # return "I apologize, but your submission is too long. Please limit your submission to 5000 characters or less.", "incorrect"
71
72
# Call OpenAI moderation endpoint
73
moderation_response = self.client.moderations.create(input=submission)
0 commit comments