Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/custom_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down
Loading