Skip to content

Commit 1ec4d6b

Browse files
committed
fix syntax
1 parent cebde11 commit 1ec4d6b

File tree

1 file changed

+39
-18
lines changed

1 file changed

+39
-18
lines changed

docs/getting-started/quickstart.mdx

+39-18
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,50 @@ description: Learn the basics of the AI Agent SDK in a few minutes.
66

77
<Steps>
88
<Step title="Start with a template">
9-
<pre><code>npx @covalenthq/create-zee-app</code></pre>
9+
```typescript
10+
npx @covalenthq/create-zee-app
11+
```
1012
</Step>
13+
1114
<Step title="Modify the agent">
12-
<pre><code>{`const agent1 = new Agent({
13-
name: "Agent1",
14-
model: {
15-
provider: "OPEN_AI",
16-
name: "gpt-4o-mini",
17-
},
18-
description: "A helpful AI assistant that can engage in conversation.",
19-
});`}</code></pre>
15+
<CodeGroup>
16+
```typescript
17+
const agent1 = new Agent({
18+
name: "Agent1",
19+
model: {
20+
provider: "OPEN_AI",
21+
name: "gpt-4o-mini",
22+
},
23+
description: "A helpful AI assistant that can engage in conversation.",
24+
});
25+
```
26+
</CodeGroup>
2027
</Step>
28+
2129
<Step title="Modify the ZEE Workflow">
22-
<pre><code>{`const zee = new ZeeWorkflow({
23-
description: "A workflow of agents that do stuff together",
24-
output: "Just bunch of stuff",
25-
agents: { agent1, agent2 },
26-
});`}</code></pre>
30+
31+
<CodeGroup>
32+
```typescript
33+
const zee = new ZeeWorkflow({
34+
description: "A workflow of agents that do stuff together",
35+
output: "Just bunch of stuff",
36+
agents: { agent1, agent2 },
37+
});
38+
```
39+
</CodeGroup>
2740
</Step>
41+
2842
<Step title="Run the Zee Workflow">
29-
<pre><code>{`(async function main() {
30-
const result = await ZeeWorkflow.run(zee);
31-
console.log(result);
32-
})();`}</code></pre>
43+
44+
<CodeGroup>
45+
```typescript
46+
(async function main() {
47+
const result = await ZeeWorkflow.run(zee);
48+
console.log(result);
49+
})();
50+
```
51+
</CodeGroup>
52+
53+
3354
</Step>
3455
</Steps>

0 commit comments

Comments
 (0)