Skip to content

[Bug] Model list fails due to 2000 character limit when using openrouter #51

@oberonix

Description

@oberonix

Describe the Bug

When you use the model list command and the list exceeds 2000 characters the bot fails to respond. It should be able to chop the message into multiple.

Steps to Reproduce

  1. Run '...'
  2. Send command '...'
  3. See error

Expected Behavior

What you expected to happen.

Actual Behavior

What actually happened.

Environment

  • OS: [e.g., macOS 14.0, Windows 11, Ubuntu 22.04]
  • Node.js version: [e.g., 22.0.0]
  • remote-opencode version: [e.g., 1.1.0]
  • OpenCode version: [e.g., 0.1.0]

Logs / Screenshots

If applicable, add logs or screenshots to help explain your problem.

Paste any relevant error messages here

Additional Context

Add any other context about the problem here.

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