gpt_engineer.applications.cli.learning.check_collection_consent
- gpt_engineer.applications.cli.learning.check_collection_consent() bool[source]
Checks if the user has previously given consent to store their data for feedback collection.
This function looks for a file that stores the user’s consent status. If the file exists and contains ‘true’, consent is assumed. If the file does not exist or does not contain ‘true’, the function will prompt the user for consent.
- Returns:
True if the user has given consent, False otherwise.
- Return type:
bool