Closed rndquu closed 1 week ago
@rndquu Thanks for the thorough testing. I noticed in your linked tests that the relevance is 0 but you still get the rewards, is that something you hardcoded for the tests or should I have a look into it? Otherwise good with the PR.
@rndquu Thanks for the thorough testing. I noticed in your linked tests that the relevance is 0 but you still get the rewards, is that something you hardcoded for the tests or should I have a look into it? Otherwise good with the PR.
The OPENAI_API_KEY
env variable is not set in my fork of the conversation rewards plugin. I guess that's the main reason why relevance is not calculated. Not sure if that's an issue though.
I was more worried of some crash or something going wrong, because earlier today we had a case where a comment was not counted at all in the same way, and recently the logic for comments was updated to fit with Gpt4. Anyway it's unrelated to this PR, will have a look at it.
Related https://github.com/ubiquibot/permit-generation/issues/16
This PR adds a new config parameter
erc20RewardToken
. So now partners will have to specify which ERC20 token they will use for permit rewards.Example config:
QA:
Notes:
permitGeneration.enabled
is set totrue
since it took me quite a time to find out why permits are not generated with copy/pasted README config