File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ Split complex logic into multiple steps to improve the stability of the automati
83
83
``` javascript
84
84
const recordList = await agent .aiQuery (' string[], the record list' )
85
85
for (const record of recordList) {
86
- const hasCompleted = await agent .aiBoolean (` check if the record contains the text "completed"` )
86
+ const hasCompleted = await agent .aiBoolean (` check if the record ${ record } " contains the text "completed"` )
87
87
if (! hasCompleted) {
88
88
await agent .aiTap (record)
89
89
}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ await aiAction('click all the records one by one. If one record contains the tex
83
83
``` javascript
84
84
const recordList = await agent .aiQuery (' string[], the record list' )
85
85
for (const record of recordList) {
86
- const hasCompleted = await agent .aiBoolean (` check if the record contains the text "completed"` )
86
+ const hasCompleted = await agent .aiBoolean (` check if the record ${ record } " contains the text "completed"` )
87
87
if (! hasCompleted) {
88
88
await agent .aiTap (record)
89
89
}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Converted code:
39
39
``` javascript
40
40
const recordList = await agent .aiQuery (' string[], the record list' )
41
41
for (const record of recordList) {
42
- const hasCompleted = await agent .aiBoolean (` check if the record contains the text "completed"` )
42
+ const hasCompleted = await agent .aiBoolean (` check if the record ${ record } " contains the text "completed"` )
43
43
if (! hasCompleted) {
44
44
await agent .aiTap (record)
45
45
}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Split complex logic into multiple steps to improve the stability of the automati
70
70
``` javascript
71
71
const recordList = await agent .aiQuery (' string[], the record list' )
72
72
for (const record of recordList) {
73
- const hasCompleted = await agent .aiBoolean (` check if the record contains the text "completed"` )
73
+ const hasCompleted = await agent .aiBoolean (` check if the record ${ record } " contains the text "completed"` )
74
74
if (! hasCompleted) {
75
75
await agent .aiTap (record)
76
76
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ aiAction('逐条点击所有记录,如果一个记录包含“已完成”,
38
38
``` javascript
39
39
const recordList = await agent .aiQuery (' string[], the record list' )
40
40
for (const record of recordList) {
41
- const hasCompleted = await agent .aiBoolean (` check if the record contains the text "completed"` )
41
+ const hasCompleted = await agent .aiBoolean (` check if the record ${ record } " contains the text "completed"` )
42
42
if (! hasCompleted) {
43
43
await agent .aiTap (record)
44
44
}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ await aiAction('逐一点击所有记录。如果某个记录包含文本"comple
69
69
``` javascript
70
70
const recordList = await agent .aiQuery (' string[], the record list' )
71
71
for (const record of recordList) {
72
- const hasCompleted = await agent .aiBoolean (` check if the record contains the text "completed"` )
72
+ const hasCompleted = await agent .aiBoolean (` check if the record ${ record } " contains the text "completed"` )
73
73
if (! hasCompleted) {
74
74
await agent .aiTap (record)
75
75
}
You can’t perform that action at this time.
0 commit comments