Ai21

Latest version: v3.1.0

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

Scan your dependencies

Page 1 of 16

3.1.0

Chores

- Use correct model id name for usage examples
([280](https://github.com/AI21Labs/ai21-python/pull/280),
[`a822f62`](https://github.com/AI21Labs/ai21-python/commit/a822f621a04b0f1fdcc07d3389ccf5cde24abd89))

- **deps-dev**: Bump jinja2 from 3.1.5 to 3.1.6
([275](https://github.com/AI21Labs/ai21-python/pull/275),
[`1572a9c`](https://github.com/AI21Labs/ai21-python/commit/1572a9cd23e32a0f394b899f1967209e46a38004))

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6. - [Release
notes](https://github.com/pallets/jinja/releases) -
[Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) -
[Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

--- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect

...

Signed-off-by: dependabot[bot] <supportgithub.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>

Features

- :sparkles: introduce Maestro ([276](https://github.com/AI21Labs/ai21-python/pull/276),
[`2284cc7`](https://github.com/AI21Labs/ai21-python/commit/2284cc7528b8020f3a3da274e5ff5dec72521d1f))

* feat: :sparkles: introduce Maestro

* ci: Added remove cache

* chore: :refactor: use `ChatMessage` instead of `Message` pretty TypedDict :(

* chore: :truck: rename `maestro/runs` files to `maestro/run`

* fix: :recycle: bug fixes and support for more params

- update examples (async & sync) - support passing types in `output_type` - deprecate `instruction`

* fix: :fire: remove unsupported parameters

* fix: :bug: try saving the day

* fix: :bug: let's give it another go shall we

* fix: :fire: remove unused functions

* test: :white_check_mark: tests

* refactor: :truck: rename messages and constraints

* ci: :technologist: add git hooks to check for in commit content

* chore: :truck: move `maestro` under beta

* docs: :memo: update examples

* docs: :memo: update README

* refactor: :truck: rename maestro runs examples

* chore: :wrench: add budget support

---------

Co-authored-by: benshuk <bensai21.com>

Co-authored-by: Josephasafg <ajgard7gmail.com>

Refactoring

- Removed J2 Support from Bedrock ([277](https://github.com/AI21Labs/ai21-python/pull/277),
[`8733047`](https://github.com/AI21Labs/ai21-python/commit/8733047aca6b1f75375abaff1d9df74aea5690c7))

* refactor: Removed j2 support

* fix: Bad imports

* fix: Extra test removal

3.0.4

([`557ab8e`](https://github.com/AI21Labs/ai21-python/commit/557ab8ee4785fab4382783d9c69c09f6819f5fc3))

3.0.3

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

3.0.2

([`040c7bf`](https://github.com/AI21Labs/ai21-python/commit/040c7bf4d98e5b3f94d93b9b4f124d0758944f2e))

Continuous Integration

- Freeze poetry version ([246](https://github.com/AI21Labs/ai21-python/pull/246),
[`5846d09`](https://github.com/AI21Labs/ai21-python/commit/5846d094edc09f84b32628421244bfc702af176b))

Testing

- Removed legacy j2 tests ([254](https://github.com/AI21Labs/ai21-python/pull/254),
[`8c3fe68`](https://github.com/AI21Labs/ai21-python/commit/8c3fe6862d622ecf44d25926ee7f8cc1ae14d4ff))

* test: Removed legacy j2 tests

* fix: Failing test

* docs: Removed print

3.0.1

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

3.0.0

([`7457c5b`](https://github.com/AI21Labs/ai21-python/commit/7457c5b2c2d9dab24b1cf863786db710bd16f7a6))

Features

- Breaking CHANGE: Version v3.0.0 ([229](https://github.com/AI21Labs/ai21-python/pull/229),
[`53bac6c`](https://github.com/AI21Labs/ai21-python/commit/53bac6c0b373b196fabe38f133213ac9d24e7e73))

- Sunset tsms and j2 ([225](https://github.com/AI21Labs/ai21-python/pull/225),
[`b39c92c`](https://github.com/AI21Labs/ai21-python/commit/b39c92cfbdc88c9f98f3d5bfb20aa850f6211b78))

feat!: Removed Legacy TSM Models

BREAKING CHANGES

- Version v3.0.0 (229)

Page 1 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.