Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

quality: Allow renaming var without serializer issues

Clémence Lesnéc79cafd5e0cb
diff --git a/models/call.py b/models/call.py
index dfaa633..a846619 100644
--- a/models/call.py
+++ b/models/call.py
@@ -68,7 +68,7 @@ class CallGetModel(BaseModel):
)
-class CallStateModel(CallGetModel):
+class CallStateModel(CallGetModel, extra="ignore"):
# Immutable fields
callback_secret: str = Field(
default="".join(