Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
quality: Code quality
Clémence Lesnéd817c769d449
diff --git a/app/helpers/config_models/ai_search.py b/app/helpers/config_models/ai_search.pyindex b4ba08a..86f3833 100644--- a/app/helpers/config_models/ai_search.py+++ b/app/helpers/config_models/ai_search.py@@ -24,4 +24,7 @@ class AiSearchModel(BaseModel, frozen=True):AiSearchSearch,)- return AiSearchSearch(CONFIG.cache.instance(), self)+ return AiSearchSearch(+ cache=CONFIG.cache.instance(),+ config=self,+ )diff --git a/app/helpers/config_models/database.py b/app/helpers/config_models/database.pyindex 347e1f4..26e3f95 100644--- a/app/helpers/config_models/database.py+++ b/app/helpers/config_models/database.py@@ -17,12 +17,14 @@ class CosmosDbModel(BaseModel, frozen=True):CosmosDbStore,)- return CosmosDbStore(CONFIG.cache.instance(), self)+ return CosmosDbStore(+ cache=CONFIG.cache.instance(),+ config=self,+ )class DatabaseModel(BaseModel):cosmos_db: CosmosDbModeldef instance(self) -> IStore:- assert self.cosmos_dbreturn self.cosmos_db.instance()