diff options
| author | Dax Raad <[email protected]> | 2025-05-28 17:24:15 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-28 17:24:21 -0400 |
| commit | e88264075a8b67c46b57d13db8488f4f01e7f9f1 (patch) | |
| tree | 74aeb70ee3625355ab5c0440451505ca10997a80 /js/src/session | |
| parent | 041a080a139a06402d9c0ce4d37622f9eb49e729 (diff) | |
| download | opencode-e88264075a8b67c46b57d13db8488f4f01e7f9f1.tar.gz opencode-e88264075a8b67c46b57d13db8488f4f01e7f9f1.zip | |
sync
Diffstat (limited to 'js/src/session')
| -rw-r--r-- | js/src/session/session.ts | 5 |
1 files changed, 2 insertions, 3 deletions
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 = { |
