修复 sdk 英文文档首页的部分错误

This commit is contained in:
锦恢 2025-06-23 18:38:41 +08:00
parent 8acb53ff54
commit 44a43a0b0c
2 changed files with 2 additions and 7 deletions

View File

@ -40,11 +40,6 @@ Currently, openmcp-sdk only supports ESM-style imports.
## Usage
Here's the English translation with proper technical formatting:
```markdown
First, let's create a new TypeScript project:
```bash
mkdir clever-agent && cd clever-agent
npm init -y
@ -60,7 +55,7 @@ Then install openmcp-sdk:
npm install openmcp-sdk
```
Now let's create a main.ts file - with just a few lines of code, we can deploy the above configuration as a working agent:
Now let's create a main.ts file - with just a few lines of code, we can deploy the configuration as a working agent:
```typescript
import { OmAgent } from 'openmcp-sdk/service/sdk';

View File

@ -60,7 +60,7 @@ tsc --init
npm install openmcp-sdk
```
然后我们创建文件 main.ts直接简单几行代码就能把上面的配置部署成一个 agent
然后我们创建文件 main.ts直接简单几行代码就能把配置部署成一个 agent
```typescript
import { OmAgent } from 'openmcp-sdk/service/sdk';