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: Code lint

Clémence Lesné994e4b8c4c6c
diff --git a/Makefile b/Makefile
index 98d579f..1a6dea3 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ test:
@echo "➡️ Running deptry..."
python3 -m deptry \
--ignore-notebooks \
- --per-rule-ignores "DEP002=aiohttp|gunicorn" \
+ --per-rule-ignores "DEP002=aiohttp|gunicorn|uvicorn" \
.
@echo "➡️ Running Pytest..."
diff --git a/helpers/call_utils.py b/helpers/call_utils.py
index e21b814..ec03dfa 100644
--- a/helpers/call_utils.py
+++ b/helpers/call_utils.py
@@ -27,6 +27,7 @@ _TTS_SANITIZER_R = re.compile(
r"[^\w\s'«»“”\"\"‘’''(),.!?;\-\+_@/]"
) # Sanitize text for TTS
+
class ContextEnum(str, Enum):
"""
Enum for call context.