Skip to content

Commit 095d8cb

Browse files
authored
Merge pull request #288 from UiPath/fix/update_samples_0_1_0
fix: update samples 0.1.0
2 parents c7e9899 + 0e16903 commit 095d8cb

26 files changed

+3798
-3498
lines changed

samples/calculator-agent/.agent/CLI_REFERENCE.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,12 @@ The UiPath Python SDK provides a comprehensive CLI for managing coded agents and
1414

1515
### `uipath init`
1616

17-
**Description:** Create uipath.json with input/output schemas and bindings.
18-
19-
**Arguments:**
20-
21-
| Argument | Required | Description |
22-
|----------|----------|-------------|
23-
| `entrypoint` | No | N/A |
17+
**Description:** Initialize the project.
2418

2519
**Options:**
2620

2721
| Option | Type | Default | Description |
2822
|--------|------|---------|-------------|
29-
| `--infer-bindings` | flag | false | Infer bindings from the script. |
3023
| `--no-agents-md-override` | flag | false | Won't override existing .agent files and AGENTS.md file. |
3124

3225
**Usage Examples:**
@@ -104,6 +97,7 @@ uv run uipath run --resume
10497
workers: Number of parallel workers for running evaluations
10598
no_report: Do not report the evaluation results
10699
enable_mocker_cache: Enable caching for LLM mocker responses
100+
report_coverage: Report evaluation coverage
107101

108102

109103
**Arguments:**
@@ -122,6 +116,7 @@ uv run uipath run --resume
122116
| `--workers` | value | `1` | Number of parallel workers for running evaluations (default: 1) |
123117
| `--output-file` | value | `Sentinel.UNSET` | File path where the output will be written |
124118
| `--enable-mocker-cache` | flag | false | Enable caching for LLM mocker responses |
119+
| `--report-coverage` | flag | false | Report evaluation coverage |
125120

126121
**Usage Examples:**
127122

samples/calculator-agent/.agent/SDK_REFERENCE.md

Lines changed: 168 additions & 99 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1-
---
2-
config:
3-
flowchart:
4-
curve: linear
5-
---
6-
graph TD;
7-
__start__([<p>__start__</p>]):::first
8-
calculate(calculate)
9-
__end__([<p>__end__</p>]):::last
10-
__start__ --> calculate;
11-
calculate --> __end__;
12-
classDef default fill:#f2f0ff,line-height:1.2
13-
classDef first fill-opacity:0
14-
classDef last fill:#bfb6fc
1+
flowchart TB
2+
__start__(__start__)
3+
calculate(calculate)
4+
__end__(__end__)
5+
__start__ --> calculate
6+
calculate --> __end__

samples/calculator-agent/entry-points.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"entryPoints": [
55
{
66
"filePath": "agent",
7-
"uniqueId": "90c7e825-aabf-4362-acdd-70c2a1b5ff88",
7+
"uniqueId": "bf66f611-5167-47e3-a33f-c057a2d0dece",
88
"type": "agent",
99
"input": {
1010
"type": "object",
@@ -44,6 +44,40 @@
4444
}
4545
},
4646
"required": []
47+
},
48+
"graph": {
49+
"nodes": [
50+
{
51+
"id": "__start__",
52+
"name": "__start__",
53+
"type": "Node",
54+
"subgraph": null
55+
},
56+
{
57+
"id": "calculate",
58+
"name": "calculate",
59+
"type": "Node",
60+
"subgraph": null
61+
},
62+
{
63+
"id": "__end__",
64+
"name": "__end__",
65+
"type": "Node",
66+
"subgraph": null
67+
}
68+
],
69+
"edges": [
70+
{
71+
"source": "__start__",
72+
"target": "calculate",
73+
"label": null
74+
},
75+
{
76+
"source": "calculate",
77+
"target": "__end__",
78+
"label": null
79+
}
80+
]
4781
}
4882
}
4983
]

samples/calculator-agent/pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description = "Calculator Agent"
55
authors = [{ name = "John Doe", email = "john.doe@myemail.com" }]
66
requires-python = ">=3.11"
77
dependencies = [
8-
"uipath-langchain>=0.0.130, <0.1.0",
9-
"uipath>=2.1.166, <2.2.0",
8+
"uipath-langchain>=0.1.0, <0.2.0",
9+
"uipath>=2.2.0, <2.3.0",
1010
]
1111

1212
[project.optional-dependencies]
@@ -42,3 +42,8 @@ lint.ignore = [
4242

4343
[tool.ruff.lint.per-file-ignores]
4444
"tests/*" = ["D", "UP"]
45+
46+
[dependency-groups]
47+
dev = [
48+
"uipath-dev>=0.0.5",
49+
]

samples/calculator-agent/uv.lock

Lines changed: 171 additions & 844 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/chat-agent/.agent/CLI_REFERENCE.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,12 @@ The UiPath Python SDK provides a comprehensive CLI for managing coded agents and
1414

1515
### `uipath init`
1616

17-
**Description:** Create uipath.json with input/output schemas and bindings.
18-
19-
**Arguments:**
20-
21-
| Argument | Required | Description |
22-
|----------|----------|-------------|
23-
| `entrypoint` | No | N/A |
17+
**Description:** Initialize the project.
2418

2519
**Options:**
2620

2721
| Option | Type | Default | Description |
2822
|--------|------|---------|-------------|
29-
| `--infer-bindings` | flag | false | Infer bindings from the script. |
3023
| `--no-agents-md-override` | flag | false | Won't override existing .agent files and AGENTS.md file. |
3124

3225
**Usage Examples:**
@@ -104,6 +97,7 @@ uv run uipath run --resume
10497
workers: Number of parallel workers for running evaluations
10598
no_report: Do not report the evaluation results
10699
enable_mocker_cache: Enable caching for LLM mocker responses
100+
report_coverage: Report evaluation coverage
107101

108102

109103
**Arguments:**
@@ -122,6 +116,7 @@ uv run uipath run --resume
122116
| `--workers` | value | `1` | Number of parallel workers for running evaluations (default: 1) |
123117
| `--output-file` | value | `Sentinel.UNSET` | File path where the output will be written |
124118
| `--enable-mocker-cache` | flag | false | Enable caching for LLM mocker responses |
119+
| `--report-coverage` | flag | false | Report evaluation coverage |
125120

126121
**Usage Examples:**
127122

0 commit comments

Comments
 (0)