Skip to content

Ocassional Json parse error #64

@mko237

Description

@mko237

Hello,

thanks for the great tool!

Not certain on providing an exact reproduction but facing an issue occasionally which prevents lore from working for me.

the message i receieve is:

data: {
  message: "Agent not found: \"lore-distill\". Available agents: build, explore, general, plan",
},

      at <anonymous> (/$bunfs/root/src/cli/cmd/tui/worker.js:402208:27)
      at ~effect/Effect/successCont (/$bunfs/root/src/cli/cmd/tui/worker.js:10669:32)
      at runLoop (/$bunfs/root/src/cli/cmd/tui/worker.js:10495:109)
      at evaluate (/$bunfs/root/src/cli/cmd/tui/worker.js:10465:32)
      at <anonymous> (/$bunfs/root/src/cli/cmd/tui/worker.js:10627:26)

[lore] distillation error: SyntaxError: JSON Parse error: Unexpected EOF

current .lore.json is:

{
  "knowledge": { "enabled": true },
  "curator": {
    "enabled": true,
    "onIdle": true,
    "afterTurns": 10,
    "maxEntries": 25
  },
  "agentsFile": {
    "enabled": true,
    "path": "AGENTS.md"
  },
  "budget": {
    "distilled": 0.20,
    "raw": 0.5,
    "output": 0.20,
    "ltm": 0.10
  },
  "distillation": {
    "minMessages": 8,
    "maxSegment": 50
  },
  "pruning": {
    "retention": 120,
    "maxStorage": 1024
  },
  "crossProject": true
}

and i'm currently running opencode --version 1.4.3

I'm happy to provide any additional information to help troubleshoot.

Any help would be greatly appreciated!
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions