All of a sudden I am getting this error: ```{"mess...
# agents
c
All of a sudden I am getting this error:
Copy code
{"message": "Exception in entrypoint: Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set 'local_files_only' to False.", "level": "ERROR", "name": "voice-agent", "timestamp": "2025-11-13T10:59:03.425005+00:00", "pid": 2299229, "taskName": "job_user_entrypoint", "ss_timestamp": "20251113_105900", "user_id": "1443", "session_id": "None"}
{"message": "Exception type: LocalEntryNotFoundError", "level": "ERROR", "name": "voice-agent", "timestamp": "2025-11-13T10:59:03.425146+00:00", "pid": 2299229, "taskName": "job_user_entrypoint", "ss_timestamp": "20251113_105900", "user_id": "1443", "session_id": "None"}
{"message": "Stack trace: Traceback (most recent call last):\n  File \"/datadrive/olleh/olleh_production/agent.py\", line 200, in entrypoint\n    turn_detection=MultilingualModel(), #ctx.proc.userdata[\"turn_detection\"],\n                   ^^^^^^^^^^^^^^^^^^^\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/plugins/turn_detector/multilingual.py\", line 26, in __init__\n    super().__init__(\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/plugins/turn_detector/base.py\", line 166, in __init__\n    config_fname = _download_from_hf_hub(\n                   ^^^^^^^^^^^^^^^^^^^^^^\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/plugins/turn_detector/base.py\", line 28, in _download_from_hf_hub\n    local_path = hf_hub_download(repo_id=repo_id, filename=filename, **kwargs)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py\", line 114, in _inner_fn\n    return fn(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/file_download.py\", line 1010, in hf_hub_download\n    return _hf_hub_download_to_cache_dir(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/file_download.py\", line 1117, in _hf_hub_download_to_cache_dir\n    _raise_on_head_call_error(head_call_error, force_download, local_files_only)\n  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/file_download.py\", line 1649, in _raise_on_head_call_error\n    raise LocalEntryNotFoundError(\nhuggingface_hub.errors.LocalEntryNotFoundError: Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set 'local_files_only' to False.\n", "level": "ERROR", "name": "voice-agent", "timestamp": "2025-11-13T10:59:03.543464+00:00", "pid": 2299229, "taskName": "job_user_entrypoint", "ss_timestamp": "20251113_105900", "user_id": "1443", "session_id": "None"}
{"message": "unhandled exception while running the job task", "level": "ERROR", "name": "livekit.agents", "timestamp": "2025-11-13T10:59:03.543722+00:00", "pid": 2299229, "exception": {"type": "LocalEntryNotFoundError", "message": "Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set 'local_files_only' to False.", "traceback": ["Traceback (most recent call last):\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/opentelemetry/util/_decorator.py\", line 71, in async_wrapper\n    return await func(*args, **kwargs)  # type: ignore\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/agents/ipc/job_proc_lazy_main.py\", line 240, in _traceable_entrypoint\n    await self._job_entrypoint_fnc(job_ctx)\n", "  File \"/datadrive/olleh/olleh_production/agent.py\", line 200, in entrypoint\n    turn_detection=MultilingualModel(), #ctx.proc.userdata[\"turn_detection\"],\n                   ^^^^^^^^^^^^^^^^^^^\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/plugins/turn_detector/multilingual.py\", line 26, in __init__\n    super().__init__(\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/plugins/turn_detector/base.py\", line 166, in __init__\n    config_fname = _download_from_hf_hub(\n                   ^^^^^^^^^^^^^^^^^^^^^^\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/livekit/plugins/turn_detector/base.py\", line 28, in _download_from_hf_hub\n    local_path = hf_hub_download(repo_id=repo_id, filename=filename, **kwargs)\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py\", line 114, in _inner_fn\n    return fn(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/file_download.py\", line 1010, in hf_hub_download\n    return _hf_hub_download_to_cache_dir(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/file_download.py\", line 1117, in _hf_hub_download_to_cache_dir\n    _raise_on_head_call_error(head_call_error, force_download, local_files_only)\n", "  File \"/datadrive/olleh/olleh_production/env/lib/python3.12/site-packages/huggingface_hub/file_download.py\", line 1649, in _raise_on_head_call_error\n    raise LocalEntryNotFoundError(\n", "huggingface_hub.errors.LocalEntryNotFoundError: Cannot find the requested files in the disk cache and outgoing traffic has been disabled. To enable hf.co look-ups and downloads online, set 'local_files_only' to False.\n"]}, "taskName": null, "ss_timestamp": "20251113_105900", "user_id": "1443", "session_id": "None"}
{"message": "livekit::rtc_engine:453:livekit::rtc_engine - received session close: \"signal client closed: \\\"stream closed\\\"\" UnknownReason Resume", "level": "WARNING", "name": "livekit", "timestamp": "2025-11-13T11:01:18.078542+00:00", "pid": 2299229, "taskName": null, "ss_timestamp": "20251113_105900", "user_id": "1443", "session_id": "None"}
Has someone faced this issue?
l
It looks like you're missing the turn detector models and need to re-run this step:
uv run python src/agent.py download-files
I don't know where that
local_files_only
setting is coming from, but looks to be the root cause.
c
Thanks a lot @lively-winter-88668