Ai21

Latest version: v3.1.0

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

Scan your dependencies

Page 6 of 16

2.3.0

([`d2d416a`](https://github.com/AI21Labs/ai21-python/commit/d2d416aaaf018c9905ad947fe70e30dfd951b5e6))

Features

- Jamba Stream Support ([117](https://github.com/AI21Labs/ai21-python/pull/117),
[`ae0d12b`](https://github.com/AI21Labs/ai21-python/commit/ae0d12b4e4fbb9cdf8e2fac20ec370e7f91215b4))

* feat: Add httpx support (111)

* feat: Added httpx to pyproject

* feat: httpx instead of requests

* feat: Removed requests

* fix: not given

* fix: setup

* feat: Added tenacity for retry

* fix: conftest

* test: Added tests

* fix: Rename

* fix: Modified test

* fix: CR

* fix: request

* feat: Stream support jamba (114)

* feat: stream support (unfinished)

* fix: single request creation

* feat: Support stream_cls

* fix: passed response_cls

* fix: Removed unnecessary json_to_response

* fix: imports

* fix: tests

* fix: reponse parse

* fix: Added two examples to tests

* fix: sagemaker tests

* test: Added stream tests

* fix: comment out failing test

* fix: Removed code

* docs: Added readme for streaming

* fix: condition

* docs: readme

* test: Added integration test for streaming

* fix: Added enter and close to stream

* fix: Uncomment chat completions test

* fix: poetry.lock

* fix: Uncomment test case

* fix: Removed unused json_to_response

2.2.5

([`6d1502f`](https://github.com/AI21Labs/ai21-python/commit/6d1502f75457906f156503d9bbd63daf87665e54))

2.2.4

([`aa2e8e2`](https://github.com/AI21Labs/ai21-python/commit/aa2e8e2fc4ca28728ed3f6b59abcbce398a04228))

2.2.3

([`58c0166`](https://github.com/AI21Labs/ai21-python/commit/58c01660400fe54c0034447e903a843bc92ffcd5))

2.2.2

([`f3daeba`](https://github.com/AI21Labs/ai21-python/commit/f3daebaeafd168090c7a9b06485c49ebfe4f1b87))

2.2.1

([`4fbfe00`](https://github.com/AI21Labs/ai21-python/commit/4fbfe0002bdf1e28bdfc611f1e9b9b99012f77c7))

Page 6 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.