@nativeharness/adapter-google
v0.1.0
Published
A nativeharness ModelAdapter for Google Gemini, through its native API.
Readme
@nativeharness/adapter-google
Gemini, behind the ModelAdapter interface.
npm install @nativeharness/adapter-googleimport { GoogleAdapter } from "@nativeharness/adapter-google";
import { Harness } from "nativeharness";
const harness = new Harness({ root: "./data", model: new GoogleAdapter() });Reads GEMINI_API_KEY.
Thinking config, thought parts, and reasoning tokens counted separately from output.
Adapters are the only packages that know a vendor. Swapping one changes no line of the harness.
Part of nativeharness — the agent harness native to your app. Apache-2.0 · docs · source
