File size: 835 Bytes
1366db9
 
 
 
 
 
79a6eac
1366db9
79a6eac
1366db9
 
 
 
 
 
 
 
 
 
 
 
 
79a6eac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# bot_constants.py
"""Constants used across the bot runner application."""

# Maximum session time
MAX_SESSION_TIME = 5 * 60  # 5 minutes

# Required environment variables (Hugging Face secrets)
REQUIRED_ENV_VARS = [
    "DAILY_API_KEY",
    "OPENAI_API_KEY",
    "GOOGLE_API_KEY",
    "CARTESIA_API_KEY",
    "DEEPGRAM_API_KEY",
]

# Default example to use when handling dialin webhooks - determines which bot type to run
DEFAULT_DIALIN_EXAMPLE = "call_transfer"  # Options: call_transfer, simple_dialin

# Call transfer configuration constants
DEFAULT_CALLTRANSFER_MODE = "dialout"
DEFAULT_SPEAK_SUMMARY = True  # Speak a summary of the call to the operator
DEFAULT_STORE_SUMMARY = False  # Store summary of the call (for future implementation)
DEFAULT_TEST_IN_PREBUILT = False  # Test in prebuilt mode (bypasses need to dial in/out)