File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ src/elevenlabs/conversational_ai/default_audio_interface.py
7
7
src/elevenlabs/play.py
8
8
src/elevenlabs/realtime_tts.py
9
9
src/elevenlabs/types/get_agent_response_model.py
10
+ src/elevenlabs/types/prompt_agent.py
10
11
11
12
# Ignore CI files
12
13
.github/
Original file line number Diff line number Diff line change 10
10
from .knowledge_base_locator import KnowledgeBaseLocator
11
11
from .custom_llm import CustomLlm
12
12
from .rag_config import RagConfig
13
- from ..core .pydantic_utilities import IS_PYDANTIC_V2
13
+ from ..core .pydantic_utilities import IS_PYDANTIC_V2 , update_forward_refs
14
14
15
15
16
16
class PromptAgent (UncheckedBaseModel ):
@@ -72,3 +72,10 @@ class Config:
72
72
frozen = True
73
73
smart_union = True
74
74
extra = pydantic .Extra .allow
75
+
76
+ from .array_json_schema_property_output import ArrayJsonSchemaPropertyOutput # noqa: E402
77
+
78
+ update_forward_refs (ArrayJsonSchemaPropertyOutput )
79
+
80
+ if IS_PYDANTIC_V2 :
81
+ PromptAgent .model_rebuild ()
You can’t perform that action at this time.
0 commit comments