adk_eval_worker_rpc (erlang_adk v0.10.0)

View Source

Explicit-node distributed evaluation worker transport.

A local proxy monitors both the evaluation service and the remote worker. Cancellation kills the remote coordinator, which is linked to the actual evaluator, so an evaluation never keeps running after its owner disappears. Nodes are an operator allowlist; no node name comes from an eval document.

Summary

Functions

cancel(Handle, Reason)

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

capabilities(Config)

-spec capabilities(map()) -> map().

remote_coordinator(Proxy, Ref, Request, Timeout, MaxHeapWords)

-spec remote_coordinator(pid(), reference(), map(), pos_integer(), pos_integer()) -> no_return().

start(Request, Owner, Config0)

-spec start(map(), pid(), map()) -> {ok, reference(), map()} | {error, term()}.