@pushwoosh/rpc-gateway-ai-assistant 0.1.654 → 0.1.656
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/data.js +6 -0
- package/package.json +1 -1
- package/pushwoosh_accounts_assistant_v1.d.ts +4 -0
package/data.js
CHANGED
|
@@ -4024,6 +4024,9 @@ export const data = {
|
|
|
4024
4024
|
},
|
|
4025
4025
|
"cardId": {
|
|
4026
4026
|
"type": "number"
|
|
4027
|
+
},
|
|
4028
|
+
"capReason": {
|
|
4029
|
+
"type": "string"
|
|
4027
4030
|
}
|
|
4028
4031
|
}
|
|
4029
4032
|
},
|
|
@@ -4403,6 +4406,9 @@ export const data = {
|
|
|
4403
4406
|
},
|
|
4404
4407
|
"toolRequestMessageId": {
|
|
4405
4408
|
"type": "number"
|
|
4409
|
+
},
|
|
4410
|
+
"capReason": {
|
|
4411
|
+
"type": "string"
|
|
4406
4412
|
}
|
|
4407
4413
|
}
|
|
4408
4414
|
},
|
package/package.json
CHANGED
|
@@ -24,6 +24,8 @@ export type Message = {
|
|
|
24
24
|
iterationCapped: boolean;
|
|
25
25
|
/** The board card this message announces; the widget draws the card under the text. */
|
|
26
26
|
cardId: number;
|
|
27
|
+
/** Why an iteration_capped row stopped: "steps", "length" (the answer hit the output limit) or "session". */
|
|
28
|
+
capReason: string;
|
|
27
29
|
};
|
|
28
30
|
/** SuggestedActionKind says what a click does; UNSPECIFIED keeps today's rule: prompt or url. */
|
|
29
31
|
export type SuggestedActionKind = 'SUGGESTED_ACTION_KIND_UNSPECIFIED'
|
|
@@ -265,6 +267,8 @@ export type InferenceResponse = {
|
|
|
265
267
|
proposal: Proposal;
|
|
266
268
|
/** Set on STREAM_EVENT_TOOL_REQUEST_SAVED */
|
|
267
269
|
toolRequestMessageId: number;
|
|
270
|
+
/** Set on the closing MESSAGE_STOP with stop_reason "iteration_cap"; see Message.cap_reason */
|
|
271
|
+
capReason: string;
|
|
268
272
|
};
|
|
269
273
|
export type GetConsentRequest = {
|
|
270
274
|
application: string;
|