agent-relay-chatgpt-setup
Connect to Agent Relay
Do these steps in order. Ask nothing else unless a step fails.
-
Check. Call
relay_events_statuswith{}. If it fails because the plugin is not connected, ask the user to connect Agent Relay and pick the agent to use, then call it again. -
Replies. If
next_stepsasks whether to reply automatically, ask the user once and save the answer withanswer_reply_question(reply=trueorfalse) before subscribing, so no message wakes this chat before it has answered. It asks once in each chat unless the user said no, and a no is never asked again (they turn replies back on with "How to reply" in settings): a new dot needs the answer in its own chat. Ask the question exactly asnext_stepswords it: when the user chose to reply automatically only to their own agents, it asks about their own agents, andanswer_reply_questionthen says how to word the rule ChatGPT may ask them to confirm.