79161950

Date: 2024-11-06 09:18:16
Score: 1.5
Natty:
Report link

I found out where the problem was.

I was appending my messages to the history but not the GPT answers so it was unable to understand that questions were already answered.

There's is only one line to add just before the "return" statement:
messages.append({'role': 'assistant', 'content': ai_msg.content})

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: P. Frau