@@ -6,7 +6,7 @@ A quickstart UiPath LangGraph agent. It answers user queries using live tools an
66
77## What it does
88
9- 1 . ** Prepares** the conversation — injects a system prompt and the user query into state
9+ 1 . ** Prepares** the conversation — injects a system prompt and the user question into state
10102 . ** Runs a ReAct agent node** that autonomously decides which tools to call and in what order
11113 . ** Postprocesses** — validates and truncates the response if it exceeds the configured max length
1212
@@ -19,13 +19,12 @@ A quickstart UiPath LangGraph agent. It answers user queries using live tools an
1919
2020### LLM Providers
2121
22- The template defaults to ** GPT-4.1 Mini ** via ` UiPathChat ` . To switch providers, edit ` main.py ` :
22+ The template defaults to ** Claude Haiku 4.5 ** via ` UiPathChatAnthropicBedrock ` . To switch providers, edit ` main.py ` :
2323
2424``` python
2525# Choose your LLM provider by uncommenting one of the following:
26- llm = UiPathChat (model = " gpt-4.1-mini-2025-04-14 " )
26+ llm = UiPathChatAnthropicBedrock (model = " anthropic.claude-haiku-4-5-20251001-v1:0 " )
2727# llm = UiPathAzureChatOpenAI(model="gpt-4.1-mini-2025-04-14")
28- # llm = UiPathChatAnthropicBedrock(model="anthropic.claude-haiku-4-5-20251001-v1:0")
2928# llm = UiPathChatGoogleGenerativeAI(model="gemini-2.5-flash")
3029```
3130
@@ -44,7 +43,7 @@ flowchart TD
4443``` json
4544// Input
4645{
47- "query " : " What's the weather like in London?"
46+ "question " : " What's the weather like in London?"
4847}
4948
5049// Output
@@ -57,10 +56,10 @@ flowchart TD
5756
5857``` bash
5958# Run
60- uv run uipath run agent --file input.json
59+ uv run uipath run agent --input- file input.json --output-file output .json
6160
6261# Debug with dynamic node breakpoints
63- uv run uipath debug agent --file input.json
62+ uv run uipath debug agent --input- file input.json --output-file output .json
6463```
6564
6665## Evaluation
0 commit comments