Gemini.Types.Live.Enums.TurnCompleteReason (GeminiEx v0.11.1)

Copy Markdown View Source

Reasons why a Live API turn completed.

Values

  • :unspecified - Unspecified completion reason
  • :malformed_function_call - The model emitted an invalid function call
  • :response_rejected - The response was rejected by the service
  • :need_more_input - The model requires more user input to continue

Summary

Types

t()

@type t() ::
  :unspecified
  | :malformed_function_call
  | :response_rejected
  | :need_more_input
  | String.t()

Functions

from_api(value)

@spec from_api(String.t() | nil) :: t() | nil

to_api(value)

@spec to_api(t()) :: String.t()