From d398001f96fd1a7438ac2ef07b4b87bb13766b27 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 May 2025 14:16:15 -0400 Subject: Remove React/Ink dependencies and add context window management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove unused React and Ink CLI dependencies to simplify package - Update provider schema to use maxOutputTokens for clarity - Add automatic summarization when approaching context window limits - Simplify message event handling and add cost/token metadata display 🤖 Generated with opencode Co-Authored-By: opencode --- js/src/provider/provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/provider') diff --git a/js/src/provider/provider.ts b/js/src/provider/provider.ts index 44482b6db..a35645e69 100644 --- a/js/src/provider/provider.ts +++ b/js/src/provider/provider.ts @@ -11,7 +11,7 @@ export namespace Provider { outputCached: z.number(), }), contextWindow: z.number(), - maxTokens: z.number().optional(), + maxOutputTokens: z.number().optional(), attachment: z.boolean(), reasoning: z.boolean().optional(), }) -- cgit v1.2.3