adk_live_gemini (erlang_adk v0.7.0)

View Source

Gemini 3.1 Flash Live provider adapter.

This adapter is intentionally model-specific. It rejects REST-only and older-Live options instead of silently degrading them. Gemini 3.1 Live has native AUDIO output and synchronous function calling.

Summary

Functions

capabilities()

-spec capabilities() -> map().

decode_server(Frame, Config)

-spec decode_server(binary(), map()) -> {ok, [adk_live_provider:event_spec()]} | {error, term()}.

encode_client(Action, Config)

-spec encode_client(adk_live_provider:client_action(), map()) -> {ok, binary()} | {error, term()}.

model()

-spec model() -> binary().

resume_setup_frame(Config, Handle)

-spec resume_setup_frame(map(), binary()) -> {ok, binary()} | {error, term()}.

setup_frame(Config)

-spec setup_frame(map()) -> {ok, binary()} | {error, term()}.

validate_config(Config)

-spec validate_config(map()) -> {ok, map()} | {error, term()}.