Defines request DTOs for the Vertex AI Gemini API to generate content.
// Source: https://github.com/agentgateway/agentgateway | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. //! Wire DTOs for the Vertex native Gemini API (`:generateContent` / //! `:streamGenerateContent` / `:embedContent`). //! //! References: //! - <https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/models/inference> //! - <https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.publishers.models/generateContent> //! - <https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1/projects.locations.publishers.models/streamGenerateContent> //! - <https://docs.cloud.google.com/gemini-enterprise-agen ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key