OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Groq error 400

Open zerorail opened this issue 1 year ago • 8 comments

Is there an existing issue for the same bug?

  • [X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
  • [X] I have checked the existing issues.

Describe the bug

hello I am getting this error I think Opendevin should reduce the amount of length that can be sent in each request

11:37:53 - opendevin:ERROR: agent_controller.py:109 - Error while running the agent: GroqException - Error code: 400 - {'error': {'message': 'Please reduce the length of the messages or completion.', 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}

Current Version

latest

Installation and Configuration

docker, groq/llama3-70b-814

Model and Agent

No response

Reproduction Steps

No response

Logs, Errors, Screenshots, and Additional Context

No response

zerorail avatar May 19 '24 11:05 zerorail

Checkout #2021 ~or use the Monologue agent.~

SmartManoj avatar May 19 '24 12:05 SmartManoj

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jun 20 '24 01:06 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Jun 27 '24 01:06 github-actions[bot]

Not a stale.

SmartManoj avatar Jun 27 '24 03:06 SmartManoj

@SmartManoj or @enyst is this not achievable through max_input_tokens? My apologies if not.

mamoodi avatar Jul 06 '24 16:07 mamoodi

Yes after #2021. Currently, it is a dummy var.

SmartManoj avatar Jul 07 '24 03:07 SmartManoj

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 11 '24 01:08 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Sep 16 '24 01:09 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 17 '24 01:10 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Oct 25 '24 01:10 github-actions[bot]