@adia-ai/llm 0.5.14 → 0.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  _No pending changes._
9
9
 
10
+ ## [0.5.15] - 2026-05-16
11
+
12
+ ### v0.5.15 §322 — Dead constant removal (`DEFAULT_MAX_TOKENS`)
13
+
14
+ `packages/llm/adapters/openai.js` removes the dead `const DEFAULT_MAX_TOKENS = 4096;` declaration (zero references in module; replaced by explicit `opts.max_tokens` plumbing). Surfaced by NEW audit slot 32 `check-dead-constants.mjs` in `@adia-ai/web-components` v0.5.15.
15
+
10
16
  ## [0.5.14] - 2026-05-15
11
17
 
12
18
  _Lockstep ride-along (no source change in this package; companion to web-components v0.5.14 — see root CHANGELOG)._
@@ -7,7 +7,6 @@
7
7
  import { readSSE } from './sse.js';
8
8
 
9
9
  const API_URL = 'https://api.openai.com/v1/chat/completions';
10
- const DEFAULT_MAX_TOKENS = 4096;
11
10
 
12
11
  export const openai = {
13
12
  name: 'openai',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/llm",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "description": "Provider-agnostic LLM client — anthropic / openai / gemini adapters with a unified chat() + streamChat() facade. Used by AdiaUI's chat-shell and the A2UI generation pipeline; works in browser (with proxyUrl) and Node.",
5
5
  "type": "module",
6
6
  "exports": {