mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
9 lines
306 B
TypeScript
9 lines
306 B
TypeScript
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);
|
|
}
|