CHANGELOG
- BUGFIXES:
- Fixed 403 error by using `curl_cffi` with `impersonate=chrome110` parameter.
- Cookies are now used consistently across requests.
- Fixed json payload length by setting `indent=0, separators=(",", ":")` in `json.dumps()`.
- PLATFORM UPDATE FIXES:
- Updated headers to reflect Claude's platform changes/updates. ( Model was updated to claude-2.1)
- File attachment size limit was decreased to `10MB` for each file.
- Implemented response decoding for `(gzip, deflate, br)`.
- MISCELLANOUS CHANGES:
- Added `timeout` parameter to `ClaudeAPIClient` for setting requests timeout globally.
- `SendMessageResponse.error_response` is now a `str` instead of a `dict` object.
- Clarified the usage of `ClaudeAPIClient.get_chat_data()` in `README.md`
- Updated README.md to reflect new features.
- HOTFIX 0.2.3
- `session` module now uses `selgym` library for auto session gathering ( fixed Firefox path retrieval on Windows ).