From 93e3d15c3352d477e1664a52e1831f60dc743880 Mon Sep 17 00:00:00 2001 From: Ciprian Porumbescu Date: Fri, 17 Nov 2023 21:37:13 +0200 Subject: [PATCH] fixed prompt format --- src/libs/Anthropic/Extensions/StringExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/Anthropic/Extensions/StringExtensions.cs b/src/libs/Anthropic/Extensions/StringExtensions.cs index ac7deb1..eaffff6 100755 --- a/src/libs/Anthropic/Extensions/StringExtensions.cs +++ b/src/libs/Anthropic/Extensions/StringExtensions.cs @@ -32,7 +32,7 @@ public static string AsAssistantMessage(this string content) /// public static string AsPrompt(this string content) { - return $"\n\n${content.AsHumanMessage()}\n\nAssistant:"; + return $"\n\n{content.AsHumanMessage()}\n\nAssistant:"; } ///