mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
* Add Google GenAI sampling handler Co-authored-by: Bill Easton <strawgate@users.noreply.github.com> * chore: Update SDK documentation * Filter non-Gemini model hints in _get_model Match the Anthropic/OpenAI handler pattern of only selecting provider-compatible models from hints. --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Bill Easton <strawgate@users.noreply.github.com> Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com> Co-authored-by: Jeremiah Lowin <153965+jlowin@users.noreply.github.com>
17 lines
489 B
Text
17 lines
489 B
Text
---
|
|
title: google_genai
|
|
sidebarTitle: google_genai
|
|
---
|
|
|
|
# `fastmcp.client.sampling.handlers.google_genai`
|
|
|
|
|
|
Google GenAI sampling handler with tool support for FastMCP 3.0.
|
|
|
|
## Classes
|
|
|
|
### `GoogleGenaiSamplingHandler` <sup><a href="https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/sampling/handlers/google_genai.py#L54" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>
|
|
|
|
|
|
Sampling handler that uses the Google GenAI API with tool support.
|
|
|