mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
10 lines
372 B
TypeScript
10 lines
372 B
TypeScript
// Google plugin module implements google genai runtime behavior.
|
|
import { GoogleGenAI } from "@google/genai";
|
|
|
|
export type GoogleGenAIClient = InstanceType<typeof GoogleGenAI>;
|
|
type GoogleGenAIOptions = ConstructorParameters<typeof GoogleGenAI>[0];
|
|
|
|
export function createGoogleGenAI(options: GoogleGenAIOptions): GoogleGenAIClient {
|
|
return new GoogleGenAI(options);
|
|
}
|