@axiom-lattice/protocols 4.5.0 → 4.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axiom-lattice/protocols",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "description": "Unified protocol type definitions for Axiom Lattice framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -29,6 +29,16 @@ export interface LLMConfig {
29
29
  extra?: Record<string, any>;
30
30
  /** Whether the model supports vision/image inputs for multimodal processing */
31
31
  supportsVision?: boolean;
32
+ /**
33
+ * Send requests through OpenAI's Responses API (`/v1/responses`) instead of
34
+ * Chat Completions (`/v1/chat/completions`).
35
+ *
36
+ * These are different paths with different request fields (`input` vs
37
+ * `messages`), so an endpoint that speaks only one of them fails with
38
+ * unrecognised parameters or a missing route when sent the other. Defaults to
39
+ * Chat Completions, which is what every OpenAI-compatible upstream supports.
40
+ */
41
+ useResponsesApi?: boolean;
32
42
  }
33
43
 
34
44
  /**