Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
feat: Default cache is memory
Clémence Lesné446a92441326
diff --git a/README.md b/README.mdindex a5848a2..99d6775 100644--- a/README.md+++ b/README.md@@ -259,13 +259,6 @@ database:# endpoint: https://xxx.documents.azure.com:443sqlite: {}-cache:- # mode: redis- # redis:- # host: claim-ai.redis.cache.windows.net- # password: xxx- memory: {}-resources:public_url: "https://xxx.blob.core.windows.net/public"diff --git a/helpers/config_models/cache.py b/helpers/config_models/cache.pyindex d8b96b2..c64ff4c 100644--- a/helpers/config_models/cache.py+++ b/helpers/config_models/cache.py@@ -23,7 +23,7 @@ class RedisModel(BaseModel, frozen=True):class CacheModel(BaseModel, frozen=True):- memory: Optional[MemoryModel] = None+ memory: Optional[MemoryModel] = MemoryModel() # Object is fully defined by defaultmode: ModeEnum = ModeEnum.MEMORYredis: Optional[RedisModel] = Nonediff --git a/helpers/config_models/root.py b/helpers/config_models/root.pyindex af0fcd0..5bb0f68 100644--- a/helpers/config_models/root.py+++ b/helpers/config_models/root.py@@ -29,7 +29,7 @@ class RootModel(BaseSettings):ai_search: AiSearchModelai_translation: AiTranslationModelapi: ApiModel- cache: CacheModel+ cache: CacheModel = CacheModel() # Object is fully defined by defaultcognitive_service: CognitiveServiceModelcommunication_service: CommunicationServiceModelcontent_safety: ContentSafetyModel