mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
generalize the : thing in llm apis
This commit is contained in:
@@ -391,9 +391,7 @@ Singleton {
|
||||
cleanData = cleanData.slice(5).trim();
|
||||
}
|
||||
// console.log("Clean data: ", cleanData);
|
||||
if (!cleanData ||
|
||||
cleanData === ": OPENROUTER PROCESSING"
|
||||
) return;
|
||||
if (!cleanData || cleanData.startsWith(":")) return;
|
||||
|
||||
if (cleanData === "[DONE]") {
|
||||
requester.message.done = true;
|
||||
|
||||
Reference in New Issue
Block a user