Closed as not planned
Description
Confirm this is a feature request for the Python library and not the underlying OpenAI API.
- This is a feature request for the Python library
Describe the feature or improvement you're requesting
I get many "[serving_chat.py:200] ValueError: This model's maximum context length is 32768 tokens. However, you requested 56262 tokens in the messages, Please reduce the length of the messages.".
This is because there is no automatic truncation for client.chat.completions.create, this would be a very useful feature.
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels