Module gemini_generate_content
Module gemini_generate_content
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Built-in codec for the Gemini generateContent API.
Implements [LlmCodec] (request decode/encode) and [LlmResponseCodec] (response decode) for the Gemini generateContent API format.
Gemini function-call IDs are normalized as tool-call IDs and echoed in functionResponse.id. For legacy responses that omit an ID, the codec uses the function name only when it is unambiguous; duplicate effective IDs are rejected because their function responses cannot be correlated safely.
Structs
- GeminiGenerateContentCodec: Built-in codec for the Gemini generateContent API.
- GeminiGenerateContentStreamingCodec: Streaming counterpart to
GeminiGenerateContentCodec.