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

Method constructor

packages/ai-gemini/src/adapters/text.ts:117–120  ·  view source on GitHub ↗
(config: GeminiTextConfig, model: TModel)

Source from the content-addressed store, hash-verified

115 private readonly client: GoogleGenAI
116
117 constructor(config: GeminiTextConfig, model: TModel) {
118 super({}, model)
119 this.client = createGeminiClient(config)
120 }
121
122 async *chatStream(
123 options: TextOptions<GeminiTextProviderOptions>,

Callers

nothing calls this directly

Calls 1

createGeminiClientFunction · 0.90

Tested by

no test coverage detected