Skip to content

Do not run the llama.cpp health check when ML extraction is disabled #143

Open

Description

@disconsented

The program fails at startup when llama.cpp is not available, also when ML extraction is disabled.

src/actors.rs always spawns LlamaActor, and its pre_start calls wait_until_healthy (src/processing/llama_actor.rs:193). With ml_extraction.enabled = false the result is only used to skip the ML queue (src/actors.rs:124), but the health check still runs and blocks or fails startup.

Fix: when ml_extraction.enabled is false, do not spawn LlamaActor or do not run the health check. Make sure no other actor needs the extractor reference in that case.

Activity

  1. added
    bug
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions