mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-22 03:51:18 +00:00
8 lines
306 B
TypeScript
8 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);
|
|
}
|