From e88264075a8b67c46b57d13db8488f4f01e7f9f1 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Wed, 28 May 2025 17:24:15 -0400 Subject: sync --- js/src/session/session.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'js/src/session') diff --git a/js/src/session/session.ts b/js/src/session/session.ts index 6c89457a5..1bbafc78b 100644 --- a/js/src/session/session.ts +++ b/js/src/session/session.ts @@ -1,4 +1,4 @@ -import path from "node:path"; +import path from "path"; import { App } from "../app/"; import { Identifier } from "../id/id"; import { LLM } from "../llm/llm"; @@ -6,6 +6,7 @@ import { Storage } from "../storage/storage"; import { Log } from "../util/log"; import { convertToModelMessages, + generateText, stepCountIs, streamText, type TextUIPart, @@ -181,7 +182,6 @@ export namespace Session { } msgs.push(system); state().messages.set(input.sessionID, msgs); - /* generateText({ messages: convertToModelMessages([ { @@ -204,7 +204,6 @@ export namespace Session { draft.title = result.text; }); }); - */ await write(system); } const msg: Message = { -- cgit v1.2.3