Parallel-parrot

Latest version: v0.9.0

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.0

- adding support for OpenAI's most recent models
- updating tiktoken and other dependencies
- adding support for OpenAI JSON mode

**Full Changelog**: https://github.com/novex-ai/parallel-parrot/compare/v0.8.2...v0.9.0

0.8.2

- fix calculation of usage when retrying logical error responses

**Full Changelog**: https://github.com/novex-ai/parallel-parrot/compare/v0.8.1...v0.8.2

0.8.1

- fix parsing bug when retrying a request with no usage
- tweak logging levels to be less noisy

**Full Changelog**: https://github.com/novex-ai/parallel-parrot/compare/v0.8.0...v0.8.1

0.8.0

- add retrying of 502 Bad Gateway errors from Cloudflare
- use module-global throttle to avoid unecessary retries - solves retries triggering retries issue
- throttle parallelization down to serial batches - solves retries triggering retries issue
- retry more aiohttp errors
- use `resource` module to try to increase file handle limits. but do so with a graceful fallback
- refactor of package functions
- avoid logger deprecation notices
- handle insufficient_quota error
- refactor parsing to make it more robust
- add automated retry for invalid function JSON

**Full Changelog**: https://github.com/novex-ai/parallel-parrot/compare/v0.6.3...v0.8.0

0.6.3

- fix errors due to rate limits responses from OpenAI
- account for cloudflare returning HTML responses to the API
- add an `IGNORE` option for the token limit mode

**Full Changelog**: https://github.com/novex-ai/parallel-parrot/compare/v0.6.1...v0.6.3

0.6.1

- update README with advanced configuration options, including token truncation
- fix accidental passing of `openai_org_id` in post body (should only be in header)

**Full Changelog**: https://github.com/novex-ai/parallel-parrot/compare/v0.6.0...v0.6.1

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.