Skip to main content
Run any Skill in Manus
with one click

gemini-embed-shim

Stars0
Forks1
UpdatedMay 10, 2026 at 08:04

Provider-neutrality adapter. GBrain's src/core/embedding.ts hardcodes OpenAI (`new OpenAI()`) for 1536-dim vector generation. Lucien's stack uses Gemini embeddings via Google Generative Language API through NANO_BANANA_API_KEY. This shim is a tiny local HTTP server that speaks OpenAI /v1/embeddings on the client side but calls Gemini batchEmbedContents on the backend, preserving the 1536 dimension via outputDimensionality. Keeps upstream src/ untouched.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly