Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Ensure AI doesn't return json markdown (#3809)
Oleg Isonene0552f081573
diff --git a/packages/ai/src/chains/command-detect/__generated__/command-detect.system.prompt.ts b/packages/ai/src/chains/command-detect/__generated__/command-detect.system.prompt.tsindex 0dede8158f..5599400a7e 100644--- a/packages/ai/src/chains/command-detect/__generated__/command-detect.system.prompt.ts+++ b/packages/ai/src/chains/command-detect/__generated__/command-detect.system.prompt.ts@@ -9,4 +9,6 @@ Avaliable tasks are provided below as an object with task_name:task_descriptionThe task description can help you infer the task name to pick. For example if the user is asking to translate you should respond with ["copywrite"]Respond with a valid JSON array of task names that are relevant for the user request. Start with [++Do not start your response with \`\`\`json`;diff --git a/packages/ai/src/chains/command-detect/command-detect.system.prompt.md b/packages/ai/src/chains/command-detect/command-detect.system.prompt.mdindex b810268d23..36cfa37079 100644--- a/packages/ai/src/chains/command-detect/command-detect.system.prompt.md+++ b/packages/ai/src/chains/command-detect/command-detect.system.prompt.md@@ -9,3 +9,5 @@ Avaliable tasks are provided below as an object with task_name:task_descriptionThe task description can help you infer the task name to pick. For example if the user is asking to translate you should respond with ["copywrite"]Respond with a valid JSON array of task names that are relevant for the user request. Start with [++Do not start your response with ```json