You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I accurately determine the length of the message that was sent to ChatGPT? (I received the following error message:)
'No AI generation: {'error': {'message': "This model's maximum context length is 4097 tokens. However, you requested 4103 tokens (3079 in the messages, 1024 in the completion). Please reduce the length of the messages or completion.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}'"
The text was updated successfully, but these errors were encountered:
How can I accurately determine the length of the message that was sent to ChatGPT? (I received the following error message:)
'No AI generation: {'error': {'message': "This model's maximum context length is 4097 tokens. However, you requested 4103 tokens (3079 in the messages, 1024 in the completion). Please reduce the length of the messages or completion.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}'"
The text was updated successfully, but these errors were encountered: