Update bot_runner.py
Browse files- bot_runner.py +2 -1
bot_runner.py
CHANGED
@@ -11,7 +11,7 @@ from bot_constants import (
|
|
11 |
MAX_SESSION_TIME,
|
12 |
REQUIRED_ENV_VARS,
|
13 |
)
|
14 |
-
from
|
15 |
from bot_runner_helpers import (
|
16 |
determine_room_capabilities,
|
17 |
ensure_prompt_config,
|
@@ -29,6 +29,7 @@ from pipecat.transports.services.helpers.daily_rest import (
|
|
29 |
)
|
30 |
|
31 |
daily_helpers = {}
|
|
|
32 |
|
33 |
async def create_daily_room(room_url: str = None, config_body: Dict[str, Any] = None):
|
34 |
if not room_url:
|
|
|
11 |
MAX_SESSION_TIME,
|
12 |
REQUIRED_ENV_VARS,
|
13 |
)
|
14 |
+
from bot_registry import BotRegistry # Changed from bot_definitions to bot_registry
|
15 |
from bot_runner_helpers import (
|
16 |
determine_room_capabilities,
|
17 |
ensure_prompt_config,
|
|
|
29 |
)
|
30 |
|
31 |
daily_helpers = {}
|
32 |
+
bot_registry = BotRegistry() # Instantiate BotRegistry
|
33 |
|
34 |
async def create_daily_room(room_url: str = None, config_body: Dict[str, Any] = None):
|
35 |
if not room_url:
|