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

maestro_qroq #45

Open
Uddhav07 opened this issue May 28, 2024 · 0 comments
Open

maestro_qroq #45

Uddhav07 opened this issue May 28, 2024 · 0 comments

Comments

@Uddhav07
Copy link

Calling Opus to provide the refined final output for your objective: Traceback (most recent call last): File "/workspaces/maestro/maestro-groq.py", line 190, in <module> refined_output = opus_refine(objective, [result for _, result in task_exchanges], timestamp, sanitized_objective) File "/workspaces/maestro/maestro-groq.py", line 91, in opus_refine opus_response = client.chat.completions.create( File "/home/codespace/.local/lib/python3.10/site-packages/groq/resources/chat/completions.py", line 283, in create return self._post( File "/home/codespace/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1225, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/home/codespace/.local/lib/python3.10/site-packages/groq/_base_client.py", line 920, in request return self._request( File "/home/codespace/.local/lib/python3.10/site-packages/groq/_base_client.py", line 1018, in _request raise self._make_status_error_from_response(err.response) from None groq.BadRequestError: Error code: 400 - {'error': {'message': 'Please reduce the length of the messages or completion.', 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}

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