AIHawk-FOSS / Auto_Jobs_Applier_AI_Agent

Auto_Jobs_Applier_AI_Agent aims to easy job hunt process by automating the job application process. Utilizing artificial intelligence, it enables users to apply for multiple jobs in an automated and personalized way.
GNU Affero General Public License v3.0
23.52k stars 3.46k forks source link

[BUG]: The Phone Country code is being updated incorrectly #523

Open pramodshanmugam opened 1 month ago

pramodshanmugam commented 1 month ago

Describe the bug

I have set +1 as my phone country code in plain_text_resume.yaml but when the application is being filled it fills it as +0

Steps to reproduce

Screenshot from 2024-10-12 21-44-07 image

Expected behavior

+1

Actual behavior

+0

Branch

main

Branch name

No response

Python version

3

LLM Used

Gemini

Model used

gemini-pro

Additional context

No response

svangap1 commented 1 month ago

Just use phone prefix: "+1"

Tgenz1213 commented 1 month ago

Just use phone prefix: "+1"

This does not work either. I'm running into the same issue. I have phone_prefix: "+1" but it sets the country code to +0 and sets the phone number to +1. It looks like the linkedin_easy_applier._handle_dropdown_fields() is unused, which is what seems to be originally meant for handling this specific logic. Instead, _find_and_handle_dropdown_question() is what is filling in this section incorrectly.

Please either use the _handle_dropdown_fields() method or move the logic to _find_and_handle_dropdown_question() for specifically handling phone number information.

Edit: upon reviewing this closer, it seems to have been fixed by using a different model and adjusting the prompt in strings.py to provide more clear instruction on answering questions. I went from using llama3.2 to granite3-dense:8b on Ollama.