set_function_includes
set_function_includes
Replace the entire list of remote SWAIG function includes at once. Each entry must
contain a url and a functions list. Invalid entries (missing required keys or
non-list functions) are silently dropped.
This maps to the SWML ai.swaig.includes array.
See the SWML SWAIG includes reference for details.
Use add_function_include()
to append a single include without replacing existing ones.
Parameters
includes
List of include objects. Each object must have:
url(str) — Remote SWAIG server URLfunctions(list[str]) — Function names to include
Optional keys like meta_data are passed through unchanged.
Returns
AgentBase — Returns self for method chaining.