Closed AgustinRamiroDiaz closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 17.78%. Comparing base (
19cc640
) to head (8814540
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
:tada: This PR is included in version 0.19.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Fixes #567
What
Allows configuring validators from the envvar
VALIDATORS_CONFIG_JSON
Why
To make deployment easier
Testing done
VALIDATORS_CONFIG_JSON = '[{"stake": 100, "provider": "openai", "model": "gpt-4o", "amount": 2}]'
andVALIDATORS_CONFIG_JSON = ''
Decisions made
Checks
Reviewing tips
Read unit tests first to understand the behavior
Extra
Maybe this feature is useful in the genlayer CLI? @denishacquin @cristiam86
User facing release notes
Now you can easily start up your validators from the envvar
VALIDATORS_CONFIG_JSON