Skip to content

bufio.Scanner: token too long #3502

@yudgnahk

Description

@yudgnahk

Description

Image

I got this issue. The opencode is quite lagging. And the response can't be displayed properly. But the agent is still running.

OpenCode version

0.15.19

Steps to reproduce

  1. I have a plan folder with 10 phases and 10 checklists.
  2. At the end of each message, I ask to update the checklist.
  3. And I opened just one session for 4 phases, and I'm in phase 5.

I think it's because the I/O buffer is over range. Then it causes the lagging.

Screenshot and/or share link

Image

Operating System

macOS 15.7.1

Terminal

iTerm2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions