Feature Description
Add support in the Python SDK for detecting and handling when user input exceeds the model's context window (token limit) before sending the request. Raise a new error class (ContextWindowExceeded) when this occurs, and update SDK docs with an example of how to handle this error. This makes it easier for developers to catch and handle oversized requests gracefully, improving reliability and user experience.