Skip to content

Expose OpenRouter Gemini 3.5 Flash in deployed guardrails profile #208

Closed

Description

@terisuke

Summary

google/gemini-3.5-flash exists in the current OpenRouter catalog, but it was not visible in the deployed OpenCode model selector after PR #207.

Root cause

The model ID was present in the OpenRouter allowlist, but OpenCode builds model objects from models.dev. As of May 20, 2026, models.dev/api.json does not include google/gemini-3.5-flash, even though https://openrouter.ai/api/v1/models does. A whitelist entry alone therefore does not create a selectable model.

Acceptance criteria

  • opencode models openrouter includes openrouter/google/gemini-3.5-flash.
  • The local deploy wrapper still enters the guardrails profile and keeps fork-specific /auto and /plan support.
  • bun typecheck from packages/opencode passes.
  • Plugin/team tests still pass.

Activity

  1. added a commit that references this issue on May 20, 2026
    793e867
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions