holmesgpt
holmesgpt copied to clipboard
Got error when handling a large file
- Log file size: 11 MB
- When asking with a file, an error has raised:
BadRequestError: Error code: 400 - {'error': {'message': "Invalid 'messages[1].content': string too long. Expected a string with maximum length 1048576, but got a string with length 11282561 instead.",
'type': 'invalid_request_error', 'param': 'messages[1].content', 'code': 'string_above_max_length'}}
What max size is allowed?How can I handle a large file?