Skip to content

Commit 754f34c

Browse files
authored
Update demo.ts
1 parent b44488c commit 754f34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ai/demo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Cloudflare from 'cloudflare';
66
const client = new Cloudflare();
77

88
async function main() {
9-
const response = await client.workers.ai.run('@cf/meta/llama-2-7b-chat-int8', {
9+
const response = await client.ai.run('@cf/meta/llama-2-7b-chat-int8', {
1010
account_id: process.env['CLOUDFLARE_ACCOUNT_ID']!,
1111
prompt: 'Tell me about Workers AI',
1212
});

0 commit comments

Comments
 (0)