# scripts/start_worker.py import sys import os import logging import ssl import certifi os.environ["SSL_CERT_FILE"] = certifi.where() os.environ["REQUESTS_CA_BUNDLE"] = certifi.where() os.environ["CURL_CA_BUNDLE"] = certifi.where() ssl_context = ssl.create_default_context(cafile=certifi.where()) ssl._create_default_https_context = lambda: ssl_context BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, BASE_DIR) import asyncio from app.agent.worker import worker async def run(): print("Voice worker running...") if __name__ == "__main__": asyncio.run(run())