Closed SeaCelo closed 3 months ago
cc: @jdebacker
@SeaCelo How would you feel about using a prompt that requests the API key (and user pastes it in) as opposed to looking for a file?
I was thinking about the former which might work more easily on GH Actions (we can save an API key to the GH secrets) and would not require users to save their API key in a specific place.
@jdebacker I'm not sure what the implications are. I think we should avoid having to enter an API key every time someone uses the model. Maybe once the user pastes their token it can be saved locally as a secret? I imagine this is a quite common issue so there must be a "best practice", I just don't know it.
Closing in favor of #936
Making it compatible with un API token use. Also to fix an error when downloading the full dataset (end year = 2100) in line 377
demographics.py
. This will likely create other problems, so it needs to be evaluated. Still running into an assertion error: