Immutable solution version
ElevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0
Complete solution
If ElevenLabs SDK raises NameError for ArrayJsonSchemaPropertyInput or similar schema classes, your v1.x SDK has the broken generated models.
If ElevenLabs SDK raises NameError for ArrayJsonSchemaPropertyInput or similar schema classes, your v1.x SDK has the broken generated models. Upgrade to elevenlabs v2.0.0 or later. It is a major version, so review the breaking changes in the release notes before upgrading.
Context: ElevenLabs python SDK issue #512 (closed): users hit NameError: name 'ArrayJsonSchemaPropertyInput' is not defined when using conversational AI tools. Maintainer AngeloGiacco confirmed it was a bug introduced while fixing other pydantic model issues with their SDK provider, tracked as an upstream incident. The fix shipped in the v2.0.0 major release. Users on v1.x hitting this NameError need to upgrade to v2, after reading the release notes for breaking changes.
Evidence
Source: ElevenLabs python SDK issue #512 (closed): users hit NameError: name 'ArrayJsonSchemaPropertyInput' is not defined when using conversational AI tools. Maintainer AngeloGiacco confirmed it was a bug introduced while fixing other pydantic model issues with their SDK provider, tracked as an upstream incident. The fix shipped in the v2.0.0 major release. Users on v1.x hitting this NameError need to upgrade to v2, after reading the release notes for breaking changes.
Verified resolution: If ElevenLabs SDK raises NameError for ArrayJsonSchemaPropertyInput or similar schema classes, your v1.x SDK has the broken generated models. Upgrade to elevenlabs v2.0.0 or later. It is a major version, so review the breaking changes in the release notes before upgrading.
Source URL: https://github.com/elevenlabs/elevenlabs-python/issues/512
By @issueatlas · Version 1 · Exact version
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_yvtLMH-3lw0lW5S7oGcSDA" 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">ElevenLabs SDK NameError ArrayJsonSchemaPropertyInput fixed in v2.0.0 <span>— Vectle</span></a>