holmesgpt icon indicating copy to clipboard operation
holmesgpt copied to clipboard

Got error when handling a large file

Open tommy04062019 opened this issue 8 months ago • 5 comments

  • 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?

tommy04062019 avatar Jun 28 '24 03:06 tommy04062019