Skip to content

Releases: AI21Labs/ai21-python

v4.2.0

18 Sep 14:19

Choose a tag to compare

v4.2.0 (2025-09-18)

Bug Fixes

Features


Detailed Changes: v4.1.1...v4.2.0

v4.1.1

16 Sep 07:20

Choose a tag to compare

v4.1.1 (2025-09-16)

Bug Fixes

Chores

  • deps: Bump amannn/action-semantic-pull-request (#310, 6b6bc01)

Documentation

  • Add CLAUDE.md file for Claude Code guidance (#314, a5a298a)

Detailed Changes: v4.1.0...v4.1.1

v4.1.0

19 Aug 06:54

Choose a tag to compare

v4.1.0 (2025-08-19)

Bug Fixes

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#303, 9e5fe3d)

Continuous Integration

Features

  • 🎉 Added support for batch mode & batch querying (#302, 0067f12)

  • Add response_language parameter support to Maestro run methods (#311, f5b39d9)

Refactoring

Testing


Detailed Changes: v4.0.3...v4.1.0

v4.0.3

16 Jun 15:26

Choose a tag to compare

v4.0.3 (2025-06-16)

Bug Fixes

  • refactor: reorganize imports by moving maestro models to their own module

  • refactor: update input type in maestro run methods to use MaestroMessage instead of ChatMessage

  • test: add parameterized tests for Maestro input formats in maestro.py

  • feat: add async example for multi-message processing

  • feat: update async example to handle multi-message input for business proposal

  • feat: include requirements result in README example for Maestro runs

  • fix: update content formatting in async_run_multi_messages.py for improved readability


Co-authored-by: benshuk [email protected]

Co-authored-by: Asaf Joseph Gardin [email protected]

Continuous Integration


Detailed Changes: v4.0.2...v4.0.3

v4.0.2

16 Jun 09:46

Choose a tag to compare

v4.0.2 (2025-06-16)

Bug Fixes

  • 🐛 handle maestro input as a list of ChatMessages (#297, 3c63bd0)

Co-authored-by: benshuk [email protected]


Detailed Changes: v4.0.1...v4.0.2

v4.0.1

16 Jun 08:03

Choose a tag to compare

v4.0.1 (2025-06-16)

Bug Fixes

  • Raise error when poll_timeout_sec is reached (#296, cd8bc03)
  • fix: raise error when poll_timeout_sec is reached

  • chore: handle timeout errors in async_run and run examples


Co-authored-by: benshuk [email protected]


Detailed Changes: v4.0.0...v4.0.1

v4.0.0

11 Jun 11:11

Choose a tag to compare

v4.0.0 (2025-06-11)

Bug Fixes

  • fix: Incomplete URL logging on exception

  • fix: tests

  • ♻️ expose poll_for_status function (#291, 81f4209)
  • fix: ♻️ expose poll_for_status function

  • refactor: ♻️ update poll_for_status method parameters to use consistent naming convention

  • chore: 🔧 update CI configuration to use ubuntu-latest


Co-authored-by: benshuk [email protected]

Refactoring

  • refactor: Removed ai21-tokenizer dependency

  • fix: Removed unused test


Detailed Changes: v3.3.0...v4.0.0

v3.3.0

25 May 12:20

Choose a tag to compare

v3.3.0 (2025-05-25)

Bug Fixes

  • Remove optional context parameter from maestro requests (#288, 8fbfc9d)
  • fix: remove optional parameter from maestro requests

  • fix: remove jamba instruct tests

Documentation

Features

  • ✨ Enhance Requirement and Output Options in Maestro (#289, 329379f)
  • feat: ✨ Enhance Requirement and Output Options in Maestro

  • chore: 🔧 Include Requirements Result in Maestro Async and Sync Runs examples

  • fix: 🏷️ requirements typings


Co-authored-by: benshuk [email protected]

  • feat: Added launchpad client

  • test: Added imports to test

Refactoring

  • refactor: Remove client url creation

  • fix: tests


Detailed Changes: v3.2.0...v3.3.0

v3.2.0

28 Apr 13:56

Choose a tag to compare

v3.2.0 (2025-04-28)

Bug Fixes

  • feat: Add Requirement, Budget, Tool, and ToolResources exports

  • docs: Add Maestro section to README


Co-authored-by: benshuk [email protected]

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#261, 36eca68)

Bumps pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4.


updated-dependencies:

  • dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production

update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] [email protected]

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

Co-authored-by: Asaf Joseph Gardin [email protected]

  • deps: Bump python-semantic-release/python-semantic-release (#271, 7c4c4a4)

Bumps python-semantic-release/python-semantic-release from 9.15.2 to 9.21.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: python-semantic-release/python-semantic-release dependency-type: direct:production

update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] [email protected]

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

Co-authored-by: Asaf Joseph Gardin [email protected]

Features

  • feat: Added batches

  • feat: Added batch object

  • feat: Added batches to client

  • ci: Updated .gitignore

  • feat: Support for pagination

  • feat: Support for downloading files

  • refactor: Moved to beta

  • fix: Lint

  • fix: Typings

  • fix: CR

  • fix: Added docstring for batch list

  • fix: Added batches to beta

  • refactor: Removed commented out code

fix: add data sources support

  • fix: typedDict import

  • fix: add missing param

  • fix: add test

  • fix: remove skip

  • fix: fix test


Detailed Changes: v3.1.0...v3.2.0

v3.1.0

20 Mar 13:55

Choose a tag to compare

v3.1.0 (2025-03-20)

Chores

  • Use correct model id name for usage examples (#280, a822f62)

  • deps-dev: Bump jinja2 from 3.1.5 to 3.1.6 (#275, 1572a9c)

Bumps jinja2 from 3.1.5 to 3.1.6.


updated-dependencies:

  • dependency-name: jinja2 dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

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

Features

  • feat: ✨ introduce Maestro

  • ci: Added remove cache

  • chore: :refactor: use ChatMessage instead of Message pretty TypedDict :(

  • chore: 🚚 rename maestro/runs files to maestro/run

  • fix: ♻️ bug fixes and support for more params

  • update examples (async & sync) - support passing types in output_type - deprecate instruction
  • fix: 🔥 remove unsupported parameters

  • fix: 🐛 try saving the day

  • fix: 🐛 let's give it another go shall we

  • fix: 🔥 remove unused functions

  • test: ✅ tests

  • refactor: 🚚 rename messages and constraints

  • ci: 🧑‍💻 add git hooks to check for in commit content

  • chore: 🚚 move maestro under beta

  • docs: 📝 update examples

  • docs: 📝 update README

  • refactor: 🚚 rename maestro runs examples

  • chore: 🔧 add budget support


Co-authored-by: benshuk [email protected]

Co-authored-by: Josephasafg [email protected]

Refactoring

  • refactor: Removed j2 support

  • fix: Bad imports

  • fix: Extra test removal


Detailed Changes: v3.0.4...v3.1.0