Skip to content

Commit 09de8fb

Browse files
committed
fix: use correct model name in onUpdateDocument function (#828)
1 parent 79d8022 commit 09de8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artifacts/code/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const codeDocumentHandler = createDocumentHandler<'code'>({
4242
let draftContent = '';
4343

4444
const { fullStream } = streamObject({
45-
model: myProvider.languageModel('artifacts-model'),
45+
model: myProvider.languageModel('artifact-model'),
4646
system: updateDocumentPrompt(document.content, 'code'),
4747
prompt: description,
4848
schema: z.object({

0 commit comments

Comments
 (0)