adk_llm_vertex (erlang_adk v0.9.0)

View Source

Native Vertex AI GenerateContent request adapter.

This adapter intentionally supports one narrow Google publisher-model REST contract. A complete resource name determines both HTTPS origin and fixed v1 method paths. OAuth tokens are resolved immediately before a request; callers cannot supply URLs, headers, redirects, private-host policy, or ADC provider handles through a provider profile.

Summary

Functions

capabilities()

-spec capabilities() -> map().

generate(Config, Memory, Tools)

-spec generate(map(), list(), list()) -> term().

public_config(Config)

-spec public_config(term()) -> map().

Secret- and handle-free configuration projection.

stream(Config, Memory, Tools, Callback)

-spec stream(map(), list(), list(), fun((binary()) -> ok)) -> term().

stream_content(Config, Memory, Tools, Callback)

-spec stream_content(map(), list(), list(), fun((adk_content:content()) -> ok)) -> term().

validate_config(Config)

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