mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 20:50:50 +00:00
9 lines
313 B
TypeScript
9 lines
313 B
TypeScript
import { GoogleGenAI } from "@google/genai";
|
|
|
|
export type GoogleGenAIClient = InstanceType<typeof GoogleGenAI>;
|
|
export type GoogleGenAIOptions = ConstructorParameters<typeof GoogleGenAI>[0];
|
|
|
|
export function createGoogleGenAI(options: GoogleGenAIOptions): GoogleGenAIClient {
|
|
return new GoogleGenAI(options);
|
|
}
|