diff --git a/packages/core/src/prompts/lesson-assistant/parts/protocol.ts b/packages/core/src/prompts/lesson-assistant/parts/protocol.ts index 70e613f05..702a18157 100644 --- a/packages/core/src/prompts/lesson-assistant/parts/protocol.ts +++ b/packages/core/src/prompts/lesson-assistant/parts/protocol.ts @@ -1,6 +1,7 @@ import type { TemplateProps } from ".."; -const responseFormatWithStructuredOutputs = "{\"response\":\"llmMessage\", patches:[{},{}...], prompt:{}}"; +const responseFormatWithStructuredOutputs = + '{"type":"llmMessage", patches:[{},{}...], prompt:{}}'; const responseFormatWithoutStructuredOutputs = `A series of JSON documents separated using the JSON Text Sequences specification, where each row is separated by the ␞ character and ends with a new line character. Your response should be a series of patches followed by one and only one prompt to the user.`;