Skip to content

Should log informational messages to stderr instead of stdout #8

Description

@sumit-sahrawat

I tried to use avante.nvim in neovim and configured it to use opencode acp as follows:

{
  "yetone/avante.nvim",
  opts = {
    provider = "opencode",
    acp_providers = {
      opencode = {
        command = "opencode",
        args = { "acp" },
      },
    },
  },
}

I end up getting the following warnings:

Image
Warn  02:24:44 notify.warn Failed to parse JSON-RPC message: [opencode-lmstudio] LM Studio plugin initialized
Warn  02:24:44 notify.warn Failed to parse JSON-RPC message: [opencode-lmstudio] Loaded 2 models

The integration didn't work at all and I'm not sure if this is the root cause but it'll be good to fix this I think.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions