Skip to content

Add routerbase gateway skill - #7

Open
zenlee123 wants to merge 1 commit into
proflead:masterfrom
zenlee123:add-routerbase-gateway
Open

Add routerbase gateway skill#7
zenlee123 wants to merge 1 commit into
proflead:masterfrom
zenlee123:add-routerbase-gateway

Conversation

@zenlee123

Copy link
Copy Markdown

Adds a compact Codex skill for integrating OpenAI-compatible apps with RouterBase.\n\nThe skill covers:\n\n- migrating OpenAI SDK/fetch/curl calls to RouterBase\n- configuring ROUTERBASE_API_KEY safely\n- choosing primary and fallback models\n- calling chat and media generation endpoints\n- avoiding API key and private data leakage\n\nUpdated README.md under the API category and added skills/api/routerbase-gateway/SKILL.md.\n\nValidation:\n\n- SKILL.md is 93 lines\n- Checked for accidental private email or real API key leakage\n- Ran git diff --cached --check

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new skill, routerbase-gateway, which provides documentation and examples for integrating OpenAI-compatible applications with RouterBase for model routing and media generation. It also updates the main README.md to list this new skill. The review feedback recommends updating the image generation example to use the standard size parameter instead of non-standard aspect_ratio and resolution parameters to align with the OpenAI-compatible standard.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +76 to +77
"aspect_ratio": "1:1",
"resolution": "1K"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The image generation example uses non-standard parameters aspect_ratio and resolution. To adhere to the OpenAI-compatible standard (as highlighted in your Quality Bar), it is better to use the standard size parameter (e.g., "size": "1024x1024").

Suggested change
"aspect_ratio": "1:1",
"resolution": "1K"
"size": "1024x1024"

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.

1 participant