From d0071b0e6a23bd411ac3b8361698c7427dea21d3 Mon Sep 17 00:00:00 2001 From: BryanFauble <17128019+BryanFauble@users.noreply.github.com> Date: Mon, 3 Feb 2025 11:46:00 -0700 Subject: [PATCH] Correct example formatting in docstring for tabbing --- .../models/protocols/agent_protocol.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/synapseclient/models/protocols/agent_protocol.py b/synapseclient/models/protocols/agent_protocol.py index bc729e5f9..d5c7cdfcf 100644 --- a/synapseclient/models/protocols/agent_protocol.py +++ b/synapseclient/models/protocols/agent_protocol.py @@ -336,18 +336,18 @@ def prompt( Example: Prompt the baseline Synapse Agent. The baseline Synapse Agent is equivilent to the Agent available in the Synapse UI. - from synapseclient import Synapse - from synapseclient.models import Agent - - syn = Synapse() - syn.login() - - my_agent = Agent() - my_agent.prompt( - prompt="Can you tell me about the AD Knowledge Portal dataset?", - enable_trace=True, - print_response=True, - ) + from synapseclient import Synapse + from synapseclient.models import Agent + + syn = Synapse() + syn.login() + + my_agent = Agent() + my_agent.prompt( + prompt="Can you tell me about the AD Knowledge Portal dataset?", + enable_trace=True, + print_response=True, + ) Example: Prompt a custom agent. If you have already registered a custom agent, you can prompt it by providing the agent's registration ID.