byterover-cli icon indicating copy to clipboard operation
byterover-cli copied to clipboard

Curation completes but no operations/knowledge files created - v3.10.1

Open KarbonXX opened this issue 6 months ago • 2 comments

Problem

After running brv curate with context text, the operation completes with status "completed" but shows 0 operations and no knowledge files are created in the context tree.

Environment

  • ByteRover CLI version: 3.10.1
  • OS: Ubuntu Server (GPU server at 192.168.68.75)
  • Provider: openai-compatible (local Ollama at 192.168.68.75:11434)
  • Model: qwen3.5:4b (active model)

Steps to reproduce

  1. Run brv curate "some test information here" --detach
  2. Curation completes successfully (status: completed)
  3. Check brv curate view shows Operations: —
  4. No new .md files appear in .brv/context-tree/

Expected behavior

Curation should create knowledge files (ADD operation) when new information is provided that does not overlap with existing facts.

Example output

$ brv curate "Test May 3 2026 - this is a test of ByteRover curation"
✓ Context queued for processing. (Task: xxx · Log: cur-xxx)

$ brv curate view cur-xxx
ID:       cur-xxx
Status:   completed
Operations: —    ← Should show ADD or UPSERT with a file path

Additional context

  • All 7 dream logs show 0 tasks and completed status
  • brv query works and returns results from older curated data (before May 1)
  • No recent files created in context tree despite multiple successful curations
  • Abstract queue shows: processed: 12, pending: 0, failed: 0

Workarounds attempted

  • Restarting the ByteRover daemon (brv restart)
  • Verified model works with direct Ollama API calls
  • Changed active model from qwen2.5-coder:7b to qwen3.5:4b
  • All attempts produce the same behavior: completed but 0 operations

KarbonXX avatar May 03 '26 20:05 KarbonXX

Hi, thanks for reporting this

What’s going on

Even though the task shows completed, the curation didn’t actually produce any usable output.

This usually happens when the model returns a response that looks valid but doesn’t match the structure ByteRover expects (ADD / UPSERT operations). When that happens, the system simply skips it — so you end up with 0 operations and no files created.

Likely cause

You’re currently using qwen3.5:4b, which is a relatively small model.
For curation tasks like this, smaller models often struggle with:

  • structured output (JSON/tool format)
  • consistent instruction following
  • semantic reasoning for deduplication

So the job completes, but nothing gets written.

Recommended fix

Please switch to a larger model (at least 9B+). For example:

  • qwen3.5:9b
  • qwen3.5:27b
  • or any GPT-4–class OpenAI-compatible model

These handle curation much more reliably.

After switching

You can test again with:

brv curate "Unique test fact: ByteRover May 2026 XYZ123"
brv curate view <task-id>

cuongdo-byterover avatar May 04 '26 03:05 cuongdo-byterover

Thanks its working now with

qwen3.5:9b Thanks,

Michael Neuschafer

On May 3, 2026, at 8:58 PM, cuongdo-byterover @.***> wrote:

cuongdo-byterover left a comment (campfirein/byterover-cli#597) https://github.com/campfirein/byterover-cli/issues/597#issuecomment-4368129263 Hi, thanks for reporting this

What’s going on

Even though the task shows completed, the curation didn’t actually produce any usable output.

This usually happens when the model returns a response that looks valid but doesn’t match the structure ByteRover expects (ADD / UPSERT operations). When that happens, the system simply skips it — so you end up with 0 operations and no files created.

Likely cause

You’re currently using qwen3.5:4b, which is a relatively small model. For curation tasks like this, smaller models often struggle with:

structured output (JSON/tool format) consistent instruction following semantic reasoning for deduplication So the job completes, but nothing gets written.

Recommended fix

Please switch to a larger model (at least 9B+). For example:

qwen3.5:9b qwen3.5:27b or any GPT-4–class OpenAI-compatible model These handle curation much more reliably.

After switching

You can test again with:

brv curate "Unique test fact: ByteRover May 2026 XYZ123" brv curate view — Reply to this email directly, view it on GitHub https://github.com/campfirein/byterover-cli/issues/597#issuecomment-4368129263, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACACMUKPVKCIJM7G7HP5VLD4ZAIODAVCNFSM6AAAAACYPKCSW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNRYGEZDSMRWGM. You are receiving this because you authored the thread.

KarbonXX avatar May 04 '26 18:05 KarbonXX