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

fix: Remove unreliable HttpUrl Pydantic validation

Clémence Lesné5d8bfb44f4f8
diff --git a/helpers/config_models/openai.py b/helpers/config_models/openai.py
index ad47aa7..4da9d62 100644
--- a/helpers/config_models/openai.py
+++ b/helpers/config_models/openai.py
@@ -1,7 +1,7 @@
-from pydantic import BaseModel, HttpUrl
+from pydantic import BaseModel
class OpenAiModel(BaseModel):
- endpoint: HttpUrl
+ endpoint: str
gpt_deployment: str
gpt_model: str