Skip to content

Commit 50c5b80

Browse files
committed
chore: tweaks
1 parent a1737ae commit 50c5b80

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

packages/multimodal/agent-tars/examples/prompts/captcha-solver.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ import { runAgentTARS } from '../default';
77
runAgentTARS(`
88
Please help me automate a web task that involves solving a CAPTCHA and extracting information from a website. Follow these steps:
99
10-
1. Navigate to https://beian.miit.gov.cn/
11-
2. Navigate to https://beian.miit.gov.cn/#/Integrated/recordQuery
12-
3. In the search field (selector: ".Search_lebet .el-input input"), type "iqiyi.com"
13-
4. Click the search button (selector: ".Search_lebet .el-button")
14-
5. When the CAPTCHA appears, you need to:
10+
1. Navigate https://beian.miit.gov.cn/#/Integrated/recordQuery
11+
2. In the search field (selector: ".Search_lebet .el-input input"), type "iqiyi.com"
12+
3. Click the search button (selector: ".Search_lebet .el-button")
13+
4. When the CAPTCHA appears, you need to:
1514
- Identify the 4 Chinese characters you need to click
1615
- Find their positions on the screen
1716
- Click on them in the correct sequence
18-
6. After successfully solving the CAPTCHA, extract the company name and registration number from the results table (in the .el-table__row)
19-
7. Display the extracted information
17+
5. After successfully solving the CAPTCHA, extract the company name and registration number from the results table (in the .el-table__row)
18+
6. Display the extracted information
2019
2120
Note: You may need to handle multiple CAPTCHA attempts if the first one fails. Also, you should hide unnecessary elements like headers and footers to focus on the main content.
2221
`);

packages/multimodal/agent/examples/gui-agent/gui-agent-as-tool-rest.ts renamed to packages/multimodal/agent/examples/gui-agent/archived/gui-agent-as-tool-rest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* A example to use models from "volcengine".
88
*/
99

10-
import { Agent, Tool, z } from '../../src';
10+
import { Agent, Tool, z } from '../../../src';
1111

1212
const guiAgentTool = new Tool({
1313
id: 'browser_control_with_vision',

packages/multimodal/agent/examples/gui-agent/gui-agent-request-test.ts renamed to packages/multimodal/agent/examples/gui-agent/archived/gui-agent-request-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* A example to use models from "volcengine".
88
*/
99

10-
import { Agent } from '../../src';
10+
import { Agent } from '../../../src';
1111

1212
async function main() {
1313
const agent = new Agent({

0 commit comments

Comments
 (0)