Jobs_Applier_AI_Agent_AIHawk icon indicating copy to clipboard operation
Jobs_Applier_AI_Agent_AIHawk copied to clipboard

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

Open pramodshanmugam opened this issue 1 year ago • 2 comments

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

pramodshanmugam avatar Oct 13 '24 01:10 pramodshanmugam

Just use phone prefix: "+1"

svangap1 avatar Oct 18 '24 05:10 svangap1

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.

Tgenz1213 avatar Nov 08 '24 20:11 Tgenz1213