Skip to content

Commit dd1befa

Browse files
authored
[VLM] snippet fix: add missing brackets (#992)
Follow up to #989
1 parent 8458be9 commit dd1befa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tasks/src/snippets/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function stringifyMessages(messages: ChatCompletionInputMessage[], opts:
3030
if (opts.customContentEscaper) {
3131
content = opts.customContentEscaper(content);
3232
}
33-
return `{ ${keyRole}: "${role}", ${keyContent}: ${content} }`;
33+
return `{ ${keyRole}: "${role}", ${keyContent}: [${content}] }`;
3434
}
3535
});
3636

0 commit comments

Comments
 (0)