All-Hands-AI / OpenHands

🙌 OpenHands: Code Less, Make More
https://all-hands.dev
MIT License
31.44k stars 3.63k forks source link

[Bug]: Groq error 400 #1902

Open sparkmobi opened 4 months ago

sparkmobi commented 4 months ago

Is there an existing issue for the same bug?

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

SmartManoj commented 4 months ago

Checkout #2021 ~or use the Monologue agent.~

github-actions[bot] commented 3 months ago

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] commented 2 months ago

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

SmartManoj commented 2 months ago

Not a stale.

mamoodi commented 2 months ago

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

SmartManoj commented 2 months ago

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

github-actions[bot] commented 1 month ago

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] commented 5 days ago

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.