This commit is contained in:
Dax Raad
2025-05-28 17:24:15 -04:00
parent 041a080a13
commit e88264075a
22 changed files with 31 additions and 34 deletions

View File

@@ -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 = {