setup • AI Agent SDK

setup: Optional interactive setup returning collected config/env values.

setup

Method

</div>

This is a method of the ChannelDescriptor class in the protocols module.

Optional interactive setup returning collected config/env values.

Signature

python
def setup(io: Any) -> Dict[str, Any]

Parameters

ParamField Any

An onboarding IO helper (prompt/confirm/getpass) supplied by the wrapper’s wizard.

Returns

ResponseField Dict[str, Any]

A mapping of collected config/env values, merged by the wizard.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 292