touhi99 / genai-job-agents

A LLM Agent with Langchain/Langgraph helps to analyze CV, look relevant jobs via API, and write a cover letter according to it
MIT License
35 stars 9 forks source link

BadRequestError #1

Open SaddamBInSyed opened 2 months ago

SaddamBInSyed commented 2 months ago

Hi @touhi99 Could not able to make it run the code.

BadRequestError: Error code: 400 - {'error': {'message': "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.", 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation': '{"tool_calls":[{"id":"pending","type":"function","function":{"name":"job_matcher_tool"},"

using Groq llama 70b model.

Thanks

touhi99 commented 2 months ago

Hi @touhi99 Could not able to make it run the code.

BadRequestError: Error code: 400 - {'error': {'message': "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.", 'type': 'invalid_request_error', 'code': 'tool_use_failed', 'failed_generation': '{"tool_calls":[{"id":"pending","type":"function","function":{"name":"job_matcher_tool"},"

using Groq llama 70b model.

Thanks

hi did you try llama3.1 70b model? I have to check because llama3 was unstable with function calling as wrote in the readme. I haven't tried out with 3.1 yet