From 34a71b4b436faf86fa11994c4a84108931b211a9 Mon Sep 17 00:00:00 2001 From: Pavlo Haidar Date: Wed, 27 May 2026 15:28:54 +0300 Subject: [PATCH] update custom agent example to chat_input terminology --- examples/custom_agent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/custom_agent.py b/examples/custom_agent.py index e511db6..9637b0c 100644 --- a/examples/custom_agent.py +++ b/examples/custom_agent.py @@ -9,14 +9,14 @@ async def main() -> None: # Open a new browser window and initialize the Narada UI agent. window = await narada.open_and_initialize_browser_window() - # Run a custom agent, optionally setting the `input_as_text` input variable for that agent. + # Run a custom agent with a prompt (mapped to `chat_input` server-side). # # The definition of this demo agent can be viewed at: # https://app.narada.ai/agent-studio/agents/e9d8vb8Q7bD2AcaSkqmRZ custom_agent = "/demo@narada.ai/greeter-agent" - input_as_text = "John Doe" + chat_input = "John Doe" response = await window.agent( - prompt=input_as_text, + prompt=chat_input, agent=custom_agent, )