diff options
| author | Dax Raad <[email protected]> | 2025-05-29 14:16:15 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-05-29 14:16:15 -0400 |
| commit | d398001f96fd1a7438ac2ef07b4b87bb13766b27 (patch) | |
| tree | b01c93fd0a6b7000c3f6198693bacb85fc00250d /js/src/provider | |
| parent | e68747a64aa577a3efb77eda0bfb67f16e341906 (diff) | |
| download | opencode-d398001f96fd1a7438ac2ef07b4b87bb13766b27.tar.gz opencode-d398001f96fd1a7438ac2ef07b4b87bb13766b27.zip | |
Remove React/Ink dependencies and add context window management
- 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 <[email protected]>
Diffstat (limited to 'js/src/provider')
| -rw-r--r-- | js/src/provider/provider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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(), }) |
