Skip to content

Commit 36f0da9

Browse files
Revert "CLI"
This reverts commit df2cff3.
1 parent c128a65 commit 36f0da9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/content/docs/workers-ai/get-started/workers-wrangler.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ head:
99
description: Deploy your first Cloudflare Workers AI project using the CLI.
1010
---
1111

12-
import { Render, PackageManagers, WranglerConfig, TypeScriptExample } from "~/components";
12+
import { Render, PackageManagers, WranglerConfig } from "~/components";
1313

1414
This guide will instruct you through setting up and deploying your first Workers AI project. You will use [Workers](/workers/), a Workers AI binding, and a large language model (LLM) to deploy your first AI-powered application on the Cloudflare global network.
1515

@@ -73,9 +73,7 @@ You are now ready to run an inference task in your Worker. In this case, you wil
7373

7474
Update the `index.ts` file in your `hello-ai` application directory with the following code:
7575

76-
<TypeScriptExample filename="index.ts" playground>
77-
78-
```ts
76+
```typescript title="src/index.ts"
7977
export interface Env {
8078
// If you set another name in the Wrangler config file as the value for 'binding',
8179
// replace "AI" with the variable name you defined.
@@ -92,7 +90,6 @@ export default {
9290
},
9391
} satisfies ExportedHandler<Env>;
9492
```
95-
</TypeScriptExample>
9693

9794
Up to this point, you have created an AI binding for your Worker and configured your Worker to be able to execute the Llama 3.1 model. You can now test your project locally before you deploy globally.
9895

0 commit comments

Comments
 (0)