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.