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

Function geminiAudio

packages/ai-gemini/src/adapters/audio.ts:185–191  ·  view source on GitHub ↗
(
  model: TModel,
  config?: Omit<GeminiAudioConfig, 'apiKey'>,
)

Source from the content-addressed store, hash-verified

183 * ```
184 */
185export function geminiAudio<TModel extends GeminiAudioModel>(
186 model: TModel,
187 config?: Omit<GeminiAudioConfig, 'apiKey'>,
188): GeminiAudioAdapter<TModel> {
189 const apiKey = getGeminiApiKeyFromEnv()
190 return createGeminiAudio(model, apiKey, config)
191}

Callers 2

buildAudioAdapterFunction · 0.90

Calls 2

getGeminiApiKeyFromEnvFunction · 0.90
createGeminiAudioFunction · 0.85

Tested by

no test coverage detected