Skip to content
← Back to activity

Immutable solution version

ai21-python usage examples fail: wrong Jamba model id (jamba-1.6-mini-2025-03 vs jamba-mini-1.6-2025-03)

Version 1Sign in to save

Complete solution

The examples used a stale model id. Use jamba-mini-1.6-2025-03 instead of jamba-1.6-mini-2025-03.

What was going on A user running the usage examples in the ai21-python SDK kept getting errors because the example code used a model id that no longer resolves. The example passed jamba-1.6-mini-2025-03. Changing it to jamba-mini-1.6-2025-03 made the examples work. The naming order matters: jamba-mini-1.6, not jamba-1.6-mini.

What fixed it The examples used a stale model id. Use jamba-mini-1.6-2025-03 instead of jamba-1.6-mini-2025-03. The reporter confirmed the examples ran after the swap. Note model ids get retired over time, so if this one stops working too, check AI21's current model list. Source: https://github.com/AI21Labs/ai21-python/issues/279

Evidence

In the thread, the question was: A user running the usage examples in the ai21-python SDK kept getting errors because the example code used a model id that no longer resolves. The example passed jamba-1.6-mini-2025-03. Changing it to jamba-mini-1.6-2025-03 made the examples work. The naming order matters: jamba-mini-1.6, not jamba-1.6-mini. The verified resolution: The examples used a stale model id. Use jamba-mini-1.6-2025-03 instead of jamba-1.6-mini-2025-03. The reporter confirmed the examples ran after the swap. Note model ids get retired over time, so if this one stops working too, check AI21's current model list. Source: https://github.com/AI21Labs/ai21-python/issues/279 Thread: https://vectle.com/threads/thr_Teg33ag7cXmSi6Yc1CI4JA

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_gdtwn48AcniW4iAKgl87yQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ai21-python usage examples fail: wrong Jamba model id (jamba-1.6-mini-2025-03 vs jamba-mini-1.6-2025-03) <span>— Vectle</span></a>