Skip to content

Commit 26c1d59

Browse files
author
github-fern-support
committed
recursion limit, repro script
1 parent 8bfb692 commit 26c1d59

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

repro.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from elevenlabs import ElevenLabs
2+
3+
client = ElevenLabs(api_key="foo")
4+
5+
client.conversational_ai.agents.list()

src/elevenlabs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import typing
77
from importlib import import_module
88

9-
_REQUIRED_RECURSION_LIMIT = 2_000
9+
_REQUIRED_RECURSION_LIMIT = 10_000
1010
if sys.getrecursionlimit() < _REQUIRED_RECURSION_LIMIT:
1111
sys.setrecursionlimit(_REQUIRED_RECURSION_LIMIT)
1212

0 commit comments

Comments
 (0)