MiniMax-Text-01 API Long context generation failed
Hi there,
I encountered generation failure when my input token length is around 400k. The error message seems to be reaching some token limit. I also tried to adjust the max output token length form 300k to 7k, none of them worked, I received the same error message shown below.
{'response_object': {'id': '03e19de25d5cdd89c3c8364c5be8d1c9', 'choices': None, 'created': 1737648866, 'model': 'MiniMax-Text-01', 'object': 'chat.completion', 'service_tier': None, 'system_fingerprint': None, 'usage': {'completion_tokens': None, 'prompt_tokens': None, 'total_tokens': 0, 'total_characters': 0}, 'input_sensitive': False, 'output_sensitive': False, 'input_sensitive_type': 0, 'output_sensitive_type': 0, 'output_sensitive_int': 0, 'base_resp': {'status_code': 1039, 'status_msg': 'token limit'}}, 'model_response_object': ModelResponse(id='chatcmpl-ea4769b6-f2da-4e09-a6f8-b2d503eb8a2e', choices=[Choices(finish_reason='stop', index=0, message=Message(content=None, role='assistant', tool_calls=None, function_call=None))], created=1737648865, model=None, object='chat.completion', system_fingerprint=None, usage=Usage(completion_tokens=0, prompt_tokens=0, total_tokens=0)), 'response_type': 'completion', 'stream': False, 'start_time': None, 'end_time': None, 'hidden_params': None, '_response_headers': None, 'convert_tool_call_to_json_mode': None}
I am using API: https://api.minimax.chat/v1 in non-streaming mode.
I have same problem
@xundeng99 We have adjusted the token limit, please try again.