@@ -106,7 +106,7 @@ Generate your first UiPath OpenAI agent:
106106✓ Created ' pyproject.toml' file.
107107🔧 Please ensure to define OPENAI_API_KEY in your .env file.
108108💡 Initialize project: uipath init
109- 💡 Run agent: uipath run agent ' {"message ": "Hello"}'
109+ 💡 Run agent: uipath run agent ' {"messages ": "Hello"}'
110110```
111111
112112This command creates the following files:
@@ -173,7 +173,7 @@ Execute the agent with a sample input:
173173<!-- termynal -->
174174
175175``` shell
176- > uipath run agent ' {"message ": "Hello"}'
176+ > uipath run agent ' {"messages ": "Hello"}'
177177{' response' : ' Hello! How can I help you today?' , ' agent_used' : ' main' }
178178✓ Successful execution.
179179```
@@ -185,19 +185,19 @@ Depending on the shell you are using, it may be necessary to escape the input js
185185
186186/// tab | Bash/ZSH/PowerShell
187187``` console
188- uipath run agent '{"message ": "Hello"}'
188+ uipath run agent '{"messages ": "Hello"}'
189189```
190190///
191191
192192/// tab | Windows CMD
193193``` console
194- uipath run agent "{""message "": ""Hello""}"
194+ uipath run agent "{""messages "": ""Hello""}"
195195```
196196///
197197
198198/// tab | Windows PowerShell
199199``` console
200- uipath run agent '{\"message \":\"Hello\"}'
200+ uipath run agent '{\"messages \":\"Hello\"}'
201201```
202202///
203203
@@ -215,7 +215,7 @@ The `run` command can also take a .json file as an input. You can create a file
215215
216216``` json
217217{
218- "message " : " Hello"
218+ "messages " : " Hello"
219219}
220220```
221221
@@ -275,7 +275,7 @@ Set the environment variables using the provided link.
275275<!-- termynal -->
276276
277277``` shell
278- > uipath invoke agent ' {"message ": "Hello"}'
278+ > uipath invoke agent ' {"messages ": "Hello"}'
279279⠴ Loading configuration ...
280280⠴ Starting job ...
281281✨ Job started successfully!
0 commit comments