Skip to content

Conversation

@sunbos
Copy link

@sunbos sunbos commented Feb 1, 2026

Description

Fixes incorrect configuration examples for Oh-My-OpenCode integration.

Changes

  1. Use Categories: Replaced deprecated agents configuration for dynamic roles (frontend-ui-ux-engineer, document-writer) with the correct categories configuration (visual-engineering, writing).
  2. Simplified Model Names: Removed antigravity- prefix from model names to align with the new v1.4.4 naming convention (e.g., google/gemini-3-pro).
  3. Consistency: Applied changes to both the "Using with Oh-My-OpenCode" and "Plugin Compatibility" sections.

Why this change?

  • Correctness: Oh-My-OpenCode ignores dynamic roles configured under agents. They must be configured via categories to take effect.
  • Modernization: Adapts to the upcoming v1.4.4 simplified model naming scheme.

Supersedes #346.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 1, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 1, 2026

Greptile Overview

Greptile Summary

This PR corrects Oh-My-OpenCode integration documentation by fixing two critical configuration issues:

  • Categories vs Agents: Replaced the deprecated agents configuration for dynamic roles (frontend-ui-ux-engineer, document-writer) with the correct categories configuration (visual-engineering, writing). Oh-My-OpenCode requires dynamic roles to be configured under categories to function properly.
  • Model Name Simplification: Removed the antigravity- prefix from model names (e.g., google/gemini-3-pro instead of antigravity-google/gemini-3-pro) to align with the v1.4.4 naming convention documented in README.md:206.

The changes are applied consistently to both the "Using with Oh-My-OpenCode" section (line 384) and the "Plugin Compatibility - oh-my-opencode" section (line 526). The multimodal-looker agent is correctly retained under agents as it's a static agent, not a dynamic role.

Confidence Score: 5/5

  • Safe to merge - documentation-only changes with no code modifications
  • Changes are limited to README.md documentation updates that fix configuration examples. The updates align with documented v1.4.4 naming conventions and correct the Oh-My-OpenCode integration pattern. No functional code changes, no breaking changes, and consistent application across both affected sections.
  • No files require special attention

Important Files Changed

Filename Overview
README.md Updated Oh-My-OpenCode configuration examples to use categories instead of deprecated agents for dynamic roles, and simplified model names by removing antigravity- prefix

Sequence Diagram

sequenceDiagram
    participant User
    participant OhMyOpenCode as Oh-My-OpenCode
    participant Config as oh-my-opencode.json
    participant AntigravityAuth as Antigravity Auth Plugin
    participant GoogleAPI as Google Gemini API

    Note over User,GoogleAPI: Configuration Setup
    User->>Config: Configure with categories
    Note over Config: categories: {<br/>  visual-engineering: gemini-3-pro<br/>  writing: gemini-3-flash<br/>}
    Note over Config: agents: {<br/>  multimodal-looker: gemini-3-flash<br/>}
    Config->>OhMyOpenCode: Load configuration
    
    Note over User,GoogleAPI: Dynamic Role Assignment
    OhMyOpenCode->>Config: Read categories for dynamic roles
    OhMyOpenCode->>Config: Read agents for static agents
    Note over OhMyOpenCode: Categories apply to dynamic roles<br/>(visual-engineering, writing)<br/>Agents apply to static agents<br/>(multimodal-looker)
    
    Note over User,GoogleAPI: Model Request Flow
    User->>OhMyOpenCode: Request visual-engineering task
    OhMyOpenCode->>AntigravityAuth: Use google/gemini-3-pro
    AntigravityAuth->>GoogleAPI: Authenticate with OAuth
    GoogleAPI-->>AntigravityAuth: Return response
    AntigravityAuth-->>OhMyOpenCode: Forward response
    OhMyOpenCode-->>User: Task completed
Loading

@NoeFabris
Copy link
Owner

@sunbos could you check and resolve the conflicts pls?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants