MCPcopy Create free account
hub / github.com/TanStack/ai / constructor

Method constructor

packages/ai-gemini/src/adapters/image.ts:87–90  ·  view source on GitHub ↗
(config: GeminiImageConfig, model: TModel)

Source from the content-addressed store, hash-verified

85 private readonly client: GoogleGenAI
86
87 constructor(config: GeminiImageConfig, model: TModel) {
88 super(model, config)
89 this.client = createGeminiClient(config)
90 }
91
92 async generateImages(
93 options: ImageGenerationOptions<GeminiImageProviderOptions>,

Callers

nothing calls this directly

Calls 1

createGeminiClientFunction · 0.90

Tested by

no test coverage detected