Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemini throwing bad request error when passing human input #192

Open
omarnahdi opened this issue Jan 19, 2025 · 0 comments
Open

Gemini throwing bad request error when passing human input #192

omarnahdi opened this issue Jan 19, 2025 · 0 comments

Comments

@omarnahdi
Copy link

omarnahdi commented Jan 19, 2025

When giving user input it is throwing the error, I have also set the human_input=True

=====
## Please provide feedback on the Final Result and the Agent's actions. Respond with 'looks good' or a similar phrase when you're satisfied.
=====

2025-01-19 22:14:51,453 - 4920 - llm.py-llm:187 - ERROR: LiteLLM call failed: litellm.BadRequestError: VertexAIException BadRequestError - {
  "error": {
    "code": 400,
    "message": "* GenerateContentRequest.contents: contents is not specified\n",
    "status": "INVALID_ARGUMENT"
  }
}



LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

 Error during LLM call to classify human feedback: litellm.BadRequestError: VertexAIException BadRequestError - {
  "error": {
    "code": 400,
    "message": "* GenerateContentRequest.contents: contents is not specified\n",
    "status": "INVALID_ARGUMENT"
  }
}
. Retrying... (1/3)
2025-01-19 22:14:53,492 - 4920 - llm.py-llm:187 - ERROR: LiteLLM call failed: litellm.BadRequestError: VertexAIException BadRequestError - {
  "error": {
    "code": 400,
    "message": "* GenerateContentRequest.contents: contents is not specified\n",
    "status": "INVALID_ARGUMENT"
  }
}



LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

 Error during LLM call to classify human feedback: litellm.BadRequestError: VertexAIException BadRequestError - {
  "error": {
    "code": 400,
    "message": "* GenerateContentRequest.contents: contents is not specified\n",
    "status": "INVALID_ARGUMENT"
  }
}
. Retrying... (2/3)
2025-01-19 22:14:55,492 - 4920 - llm.py-llm:187 - ERROR: LiteLLM call failed: litellm.BadRequestError: VertexAIException BadRequestError - {
  "error": {
    "code": 400,
    "message": "* GenerateContentRequest.contents: contents is not specified\n",
    "status": "INVALID_ARGUMENT"
  }
}



LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

 Error during LLM call to classify human feedback: litellm.BadRequestError: VertexAIException BadRequestError - {
  "error": {
    "code": 400,
    "message": "* GenerateContentRequest.contents: contents is not specified\n",
    "status": "INVALID_ARGUMENT"
  }
}
. Retrying... (3/3)
 Error processing feedback after multiple attempts.
@omarnahdi omarnahdi changed the title Gemini throwing bad request error when passing human input, I have also set the human_input=True Gemini throwing bad request error when passing human input Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant