Skip to content

Lots of REDACTED with openrouter/google/gemini-3-pro-preview #4912

Closed

Description

@jdanbrown

Description

Context: openrouter/google/gemini-3-pro-preview has been doing weird things for me (stopping mid-stream, or something), but I haven't been able to nail it down. Here's one problem I have been able to isolate, that I hope is related to my issues.

Bug: Comparing openrouter/google/gemini-3-pro-preview vs. google/gemini-3-pro-preview, I see lots of REDACTED with the openrouter model but not with the google model. Examples:

To rule out stuff like mcp, I used an empty opencode.jsonc for all of the sessions above:

$ opencode debug config
{
  "$schema": "https://opencode.ai/config.json",
  "agent": {},
  "mode": {},
  "plugin": [],
  "command": {},
  "username": "danb",
  "keybinds": {
    "leader": "ctrl+x",
    "app_exit": "ctrl+c,ctrl+d,<leader>q",
    "editor_open": "<leader>e",
    "theme_list": "<leader>t",
    "sidebar_toggle": "<leader>b",
    "status_view": "<leader>s",
    "session_export": "<leader>x",
    "session_new": "<leader>n",
    "session_list": "<leader>l",
    "session_timeline": "<leader>g",
    "session_share": "none",
    "session_unshare": "none",
    "session_interrupt": "escape",
    "session_compact": "<leader>c",
    "messages_page_up": "pageup",
    "messages_page_down": "pagedown",
    "messages_half_page_up": "ctrl+alt+u",
    "messages_half_page_down": "ctrl+alt+d",
    "messages_first": "ctrl+g,home",
    "messages_last": "ctrl+alt+g,end",
    "messages_copy": "<leader>y",
    "messages_undo": "<leader>u",
    "messages_redo": "<leader>r",
    "messages_toggle_conceal": "<leader>h",
    "model_list": "<leader>m",
    "model_cycle_recent": "f2",
    "model_cycle_recent_reverse": "shift+f2",
    "command_list": "ctrl+p",
    "agent_list": "<leader>a",
    "agent_cycle": "tab",
    "agent_cycle_reverse": "shift+tab",
    "input_clear": "ctrl+c",
    "input_forward_delete": "ctrl+d",
    "input_paste": "ctrl+v",
    "input_submit": "return",
    "input_newline": "shift+return,ctrl+j",
    "history_previous": "up",
    "history_next": "down",
    "session_child_cycle": "<leader>right",
    "session_child_cycle_reverse": "<leader>left",
    "terminal_suspend": "ctrl+z"
  }
}

OpenCode version

1.0.121

Steps to reproduce

(above)

Screenshot and/or share link

No response

Operating System

macOS 15.5

Terminal

VS Code terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 30, 2025
  2. github-actions commented on Nov 30, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Nov 30, 2025

    @rekram1-node
    Contributor

    idk why it does that but i have something we can try

  4. self-assigned this
    on Nov 30, 2025
  5. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 30, 2025
  6. rekram1-node commented on Nov 30, 2025

    @rekram1-node
    Contributor

    This isn't actually a bug it's just how openrouter parses it out with their sdk. I think we will just hide it.

  7. rekram1-node commented on Dec 2, 2025

    @rekram1-node
    Contributor

    "fixed" in next release: d9b0848

    openrouter intentionally parses them out like that with their sdk but no reaosn to show them visually.

  8. worksofliam commented on Mar 12, 2026

    @worksofliam
    Image

    I am seeing this with google/gemini-3.1-pro-preview on OpenRouter. Any clues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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