rename: vars

This commit is contained in:
Cristina Poncela Cubeiro 2026-07-31 05:19:23 +02:00
parent 83a7f755cc
commit fb0f0f7cd5
6 changed files with 32 additions and 34 deletions

View file

@ -10,10 +10,10 @@ import {
formatSkillInvocation,
formatSkillsForSystemPrompt,
getOrThrow,
MemorySessionStore,
InMemorySessionStore,
ok,
parseCommandArgs,
SessionRepository,
SessionRepo,
streamProxy,
toError,
truncateHead,
@ -27,7 +27,7 @@ const stream = createAssistantMessageEventStream();
const agent = new Agent({ initialState: { model }, streamFn: streamSimple });
agent.steer({ role: "user", content: [{ type: "text", text: "queued" }], timestamp: 0 });
const repo = new SessionRepository({ store: new MemorySessionStore() });
const repo = new SessionRepo({ store: new InMemorySessionStore() });
const result = getOrThrow(ok({ value: 1 }));
const customMessage = createCustomMessage("note", "hello", true, undefined, "2026-01-01T00:00:00.000Z");
const llmMessages = convertToLlm([customMessage]);