Doriandarko / maestro

A framework for Claude Opus to intelligently orchestrate subagents.
3.49k stars 569 forks source link

maestro_qroq #45

Open Uddhav07 opened 1 month ago

Uddhav07 commented 1 month ago

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'}}