Skip to content

Commit

Permalink
fixed prompt format
Browse files Browse the repository at this point in the history
  • Loading branch information
ciprian-aw authored and HavenDV committed Nov 24, 2023
1 parent 3271900 commit 93e3d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Anthropic/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static string AsAssistantMessage(this string content)
/// <returns></returns>
public static string AsPrompt(this string content)
{
return $"\n\n${content.AsHumanMessage()}\n\nAssistant:";
return $"\n\n{content.AsHumanMessage()}\n\nAssistant:";
}

/// <summary>
Expand Down

0 comments on commit 93e3d15

Please sign in to comment.