diff --git a/README-zh.md b/README-zh.md
index d95a5d2..0a69668 100644
--- a/README-zh.md
+++ b/README-zh.md
@@ -32,7 +32,11 @@
```html
-
+
```
### NPM 安装
@@ -52,13 +56,13 @@ const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm
const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM'
const agent = new PageAgent({
- modelName: DEMO_MODEL,
- baseURL: DEMO_BASE_URL,
- apiKey: DEMO_API_KEY,
- language: 'zh-CN'
+ modelName: DEMO_MODEL,
+ baseURL: DEMO_BASE_URL,
+ apiKey: DEMO_API_KEY,
+ language: 'zh-CN',
})
-await agent.execute("点击登录按钮")
+await agent.execute('点击登录按钮')
```
## 🏗️ 架构设计
@@ -103,7 +107,7 @@ PageAgent 专为**客户端网页增强**设计,不是服务端自动化工具
MIT 许可证 - 详见 [LICENSE](LICENSE) 文件。
```
-DOM processing components and prompt are derived from browser-use:
+DOM processing components and prompt are derived from browser-use:
Browser Use
Copyright (c) 2024 Gregor Zunic
diff --git a/README.md b/README.md
index 32169b9..8f5e9f2 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,11 @@ An in-page UI agent in javascript. Control web interfaces with natural language.
```html
-
+
```
### NPM Installation
@@ -52,13 +56,13 @@ const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm
const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM'
const agent = new PageAgent({
- modelName: DEMO_MODEL,
- baseURL: DEMO_BASE_URL,
- apiKey: DEMO_API_KEY,
- language: 'en-US'
+ modelName: DEMO_MODEL,
+ baseURL: DEMO_BASE_URL,
+ apiKey: DEMO_API_KEY,
+ language: 'en-US',
})
-await agent.execute("Click the login button")
+await agent.execute('Click the login button')
```
## 🏗️ Structure
@@ -102,9 +106,8 @@ PageAgent is designed for **client-side web enhancement**, not server-side autom
MIT License - see the [LICENSE](LICENSE) file for details.
-
```
-DOM processing components and prompt are derived from browser-use:
+DOM processing components and prompt are derived from browser-use:
Browser Use
Copyright (c) 2024 Gregor Zunic