Skip to content

Concept generation fails #80

Closed
Closed

Description

@fridgebuzz

OpenKB version 0.3.0
MacOS 26.3.1
Apple M1 Max
64GB
model: ollama/qwn3.6:27b-4_M_X

Error:

openkb.agent.compiler WARNING: Failed to parse concepts plan: Expecting value: line 1 column 1 (char 0). Raw output (first 500 chars): ''
    [WARN] concepts plan unparseable for Investigations — no concept pages generated. See log (stderr) for details.

This happens no matter what file I try to openkb add.

I know there was a recent fix for something like this, but as far as I can tell, I already have the version released with the fix.

Activity

  1. KylinMountain commented on Jun 1, 2026

    @KylinMountain
    Collaborator

    Thanks for the report! 🙏

    That error means the model returned empty output for the concepts-plan step, so there's nothing to parse. Most likely the qwen3 reasoning model + JSON mode coming back empty (or as a <think>-only block).

    Could you re-run with verbose logging and paste the output? -v goes before the subcommand:

    openkb -v add <yourfile>
    

    Look for the Concepts plan raw output (full, ...) line — it shows what the model actually returned.

  2. fridgebuzz commented on Jun 9, 2026

    @fridgebuzz
    Author

    Sorry for the delayed reply. I ran the command with -v and this is what comes out is this:

        concepts-plan........................................................................................ 89.0s (in=6153, out=605)
    openkb.agent.compiler DEBUG: LLM response [concepts-plan]:
    
    openkb.agent.compiler WARNING: Failed to parse concepts plan: Expecting value: line 1 column 1 (char 0). Raw output (first 500 chars): ''
    openkb.agent.compiler DEBUG: Concepts plan raw output (full, 0 chars): 
        [WARN] concepts plan unparseable for Helgoland — no concept pages generated. See log (stderr) for details.
    

    There is no other raw output I can find. I even checked system logs and could find nothing else.

    If there's any other info I can provide, let me know.

    The file I just tried to add is a Markdown file (.md) of size 20 KB.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions