ubiquity-os-marketplace / text-conversation-rewards

1 stars 27 forks source link

Investigate and fix "comment mismatch" issues #173

Closed gentlementlegen closed 2 days ago

gentlementlegen commented 3 weeks ago
          > Not the first time this error pops up, I wonder if it is just OpenAI not returning the proper JSON response or the logic being flawed.

@gentlementlegen You need to implement a fix

Originally posted by @0x4007 in https://github.com/ubiquity-os/plugins-wishlist/issues/25#issuecomment-2439741668

It seems that during some runs the comment length returned by OpenAI does not match the length of the comments that were supposedly parsed.

Example: https://github.com/ubiquity/work.ubq.fi/issues/164#issuecomment-2482384567 https://github.com/ubiquity-os/plugins-wishlist/issues/25#issuecomment-2439741647

gentlementlegen commented 4 days ago

Since we had lots of changes (notably the prompt), I made sure to merge and re-ran the affected issues. They both ran fine. I will close this, and if the issue arises again, let's reopen.