configuration error: Invalid type for key
Hey, im having this error despite to having a boolean value in config.yaml
Configuration error: Invalid type for key 'remote' in config file data_folder\config.yaml. Expected <class 'bool'>. Refer to the configuration guide for troubleshooting: https://github.com/feder-cr/LinkedIn_AIHawk_automatic_job_application/blob/main/readme.md#configuration
Any help would be appreciated.
Hi @testacc12345678900, there appears to be a misconfiguration, it was updated and is now looking for both a string and a bool...
src/job_application_profile.py
line 26: remote_work: str
line 44: 'remote': bool,
Try these steps:
- Either remove
remote:entirely fromconfig.yaml, OR change it into a["Yes"/"No"]string - use a string
["Yes"/"No"]forremote_work:inplain_text_resume.yaml - update line 44 in
main.pyto be either'remote': dict,,'remote': string,, or'remote': str,(sorry I can't be more specific, I'm not a Python dev and I don't know Python types very well) - report back on what did and did not work
Thanks!
thank u that worked totally! and now i have another error that says;
Runtime error: Error running the bot: Unexpected error while parsing YAML: 3 validation errors for Resume education_details.0.final_evaluation_grade Field required [type=missing, input_value={'education_level': "Bach...': 'Computer Science'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.9/v/missing education_details.0.start_date Field required [type=missing, input_value={'education_level': "Bach...': 'Computer Science'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.9/v/missing education_details.0.year_of_completion Field required [type=missing, input_value={'education_level': "Bach...': 'Computer Science'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.9/v/missing Refer to the configuration and troubleshooting guide: https://github.com/feder-cr/LinkedIn_AIHawk_automatic_job_application/blob/main/readme.md#configuration
im trying to remove the grade and exam in the education section
@testacc12345678900 share your resume and join the telegram group, so we can discuss it more easily - > https://t.me/AIhawkCommunity