Skip to content

Commit a99ab29

Browse files
committed
Minor changes
1 parent fa20628 commit a99ab29

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ai-assistant/src/core/prompt/prompt.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,4 @@ export class Prompt {
1919
pushUser(content: string) {
2020
this._messages.push({ role: "user", content });
2121
}
22-
23-
static processOutput(output: string): string {
24-
const segments = output.split("[/INST] Assistant:\n")
25-
if (!segments.length) return "";
26-
27-
return segments[segments.length - 1].trim();
28-
}
2922
}

0 commit comments

Comments
 (0)