diff options
| author | Dax Raad <[email protected]> | 2025-05-28 15:40:35 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-28 15:40:35 -0400 |
| commit | 6cf4b7f00beb2425dfe5ae11fd42d758edca4ac1 (patch) | |
| tree | 29c162184d6f3f8d2fea5342e2cac5a0e33f07bd /js/src/session | |
| parent | 6183398543bbd3ff9d23c5ba2ee40149c9ac7b68 (diff) | |
| download | opencode-6cf4b7f00beb2425dfe5ae11fd42d758edca4ac1.tar.gz opencode-6cf4b7f00beb2425dfe5ae11fd42d758edca4ac1.zip | |
sync
Diffstat (limited to 'js/src/session')
| -rw-r--r-- | js/src/session/session.ts | 11 |
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); |
