Skip to content

Commit 220d2d7

Browse files
committed
fix: readjusted prompt formating
1 parent c815d58 commit 220d2d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/utils/clarifai/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const generatePrompt = ({ messages }: GeneratePromptParams) => {
6464
.map((v) =>
6565
v.isUser ? `[INST] ${v.text} [/INST]` : `${v.text}`
6666
)
67-
.join("\n");
67+
.join(" ");
6868
};
6969

7070
/**

0 commit comments

Comments
 (0)