修复 sdk 英文文档首页的部分错误
This commit is contained in:
parent
8acb53ff54
commit
44a43a0b0c
@ -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';
|
||||
|
@ -60,7 +60,7 @@ tsc --init
|
||||
npm install openmcp-sdk
|
||||
```
|
||||
|
||||
然后我们创建文件 main.ts,直接简单几行代码就能把上面的配置部署成一个 agent:
|
||||
然后我们创建文件 main.ts,直接简单几行代码就能把配置部署成一个 agent:
|
||||
|
||||
```typescript
|
||||
import { OmAgent } from 'openmcp-sdk/service/sdk';
|
||||
|
Loading…
x
Reference in New Issue
Block a user