summaryrefslogtreecommitdiffhomepage
path: root/js/src/session/session.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/session/session.ts')
-rw-r--r--js/src/session/session.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/src/session/session.ts b/js/src/session/session.ts
index 197d4d398..6c89457a5 100644
--- a/js/src/session/session.ts
+++ b/js/src/session/session.ts
@@ -30,12 +30,6 @@ export namespace Session {
id: Identifier.schema("session"),
shareID: z.string().optional(),
title: z.string(),
- cost: z.number().optional(),
- tokens: z.object({
- input: z.number(),
- output: z.number(),
- reasoning: z.number(),
- }),
});
export type Info = z.output<typeof Info>;
@@ -72,11 +66,6 @@ export namespace Session {
const result: Info = {
id: Identifier.descending("session"),
title: "New Session - " + new Date().toISOString(),
- tokens: {
- input: 0,
- output: 0,
- reasoning: 0,
- },
};
log.info("created", result);
state().sessions.set(result.id, result);