diff --git a/packages/cli/src/test.ts b/packages/cli/src/test.ts index 83b419f52..5803c103c 100644 --- a/packages/cli/src/test.ts +++ b/packages/cli/src/test.ts @@ -43,9 +43,7 @@ import { } from "../../core/src/server/messages" import { generatePromptFooConfiguration } from "../../core/src/test" import { delay } from "es-toolkit" -import { - resolveModelConnectionInfo, -} from "../../core/src/models" +import { resolveModelConnectionInfo } from "../../core/src/models" import { filterScripts } from "../../core/src/ast" import { link } from "../../core/src/markdown" @@ -251,11 +249,6 @@ genaiscript test view outSummary, `- ${ok ? EMOJI_SUCCESS : EMOJI_FAIL} ${script.id} ${url}\n` ) - if (error) - await appendFile( - outSummary, - `\n\n\`\`\`\n${JSON.stringify(error, null, 2)}\n\`\`\`\n\n` - ) } results.push({ status, diff --git a/packages/sample/src/rag/markdown.md.txt b/packages/sample/src/rag/markdown.md.txt index de8fdd4cb..daadf0cd6 100644 --- a/packages/sample/src/rag/markdown.md.txt +++ b/packages/sample/src/rag/markdown.md.txt @@ -1 +1 @@ -Markdown is a lightweight markup language used for adding formatting elements to plain text documents. Created by John Gruber in 2004, it has become one of the most popular markup languages. Unlike WYSIWYG editors such as Microsoft Word, where formatting changes are made through button clicks, Markdown requires the user to add syntax to indicate formatting. For example, a heading is denoted by a number sign (e.g., # Heading One), and bold text is surrounded by two asterisks (e.g., **this text is bold**). It may take some time to adapt to using Markdown syntax, especially for those used to WYSIWYG applications. \ No newline at end of file +Markdown is a lightweight markup language created by John Gruber in 2004 that allows users to add formatting elements to plain text documents. Unlike WYSIWYG editors, where formatting changes are visible immediately through button clicks, Markdown requires users to apply syntax to text to indicate formatting. For example, a heading is indicated with a number sign (e.g., # Heading One), and bold text is created with two asterisks (e.g., **this text is bold**). It may take some time to adapt to this syntax for those familiar with WYSIWYG applications. \ No newline at end of file