(name: str, *, default: bool = False)
| 67 | |
| 68 | |
| 69 | def _env_bool(name: str, *, default: bool = False) -> bool: |
| 70 | raw = os.environ.get(name) |
| 71 | if raw is None: |
| 72 | return default |
| 73 | return raw.strip().lower() in {"1", "true", "yes", "on"} |
| 74 | |
| 75 | |
| 76 | async def _prewarm_local_stt_on_startup() -> None: |
no test coverage detected