@axemere/gateway 0.1.7 → 0.1.8
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/dist/client.js +1 -0
- package/dist/types.d.ts +9 -0
- package/package.json +1 -1
package/dist/client.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -38,6 +38,15 @@ export interface StreamChunk {
|
|
|
38
38
|
record_id?: string;
|
|
39
39
|
metering?: Metering;
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Parameters for {@link AiGatewayClient.execute}.
|
|
43
|
+
*
|
|
44
|
+
* Any extra keys beyond the named fields are forwarded verbatim to the
|
|
45
|
+
* provider as `provider_params`. Notable passthrough field:
|
|
46
|
+
*
|
|
47
|
+
* - `max_tokens` — defaults to `256` when omitted (Anthropic requires this
|
|
48
|
+
* field and rejects requests without it). Pass an explicit value to override.
|
|
49
|
+
*/
|
|
41
50
|
export interface ExecuteParams {
|
|
42
51
|
messages: Message[];
|
|
43
52
|
provider?: string;
|