Skip to content

Bug: perseus memory compact hangs indefinitely when Ollama is configured but the model is slow #131

@tcconnally

Description

@tcconnally

Running perseus memory compact hangs indefinitely when llm_provider: ollama is configured and the model (e.g. phi3) takes longer than the terminal timeout. There is no progress indicator and no timeout enforcement from the CLI side.

Steps to reproduce:

  1. Configure memory.llm_provider: ollama with a slow model like phi3
  2. Run perseus memory compact
  3. Process hangs indefinitely

Expected

Progress indicator, or respect llm_timeout_s config value, or emit periodic 'still working...' messages.

Actual

Silent hang.

Workaround

Kill the process and disable llm_provider in config. Use deterministic mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions