@pushwoosh/rpc-gateway-ai-assistant 0.1.465 → 0.1.467
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 +3 -0
- package/package.json +1 -1
- package/pushwoosh_agentrunner_v1.d.ts +4 -2
package/data.js
CHANGED
package/package.json
CHANGED
|
@@ -133,8 +133,8 @@ export type StreamDelta = {
|
|
|
133
133
|
content: string;
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
136
|
-
* AssistantMessage is
|
|
137
|
-
* this instead of re-accumulating deltas
|
|
136
|
+
* AssistantMessage is one SDK assistant message: usually a single content block of a model
|
|
137
|
+
* turn, the SDK splits a response that way. Go persists this instead of re-accumulating deltas.
|
|
138
138
|
*/
|
|
139
139
|
export type AssistantMessage = {
|
|
140
140
|
text: string;
|
|
@@ -142,6 +142,8 @@ export type AssistantMessage = {
|
|
|
142
142
|
usage: Usage;
|
|
143
143
|
/** mirrored to Mattermost, never persisted, never streamed */
|
|
144
144
|
thinking: string;
|
|
145
|
+
/** The API response this block belongs to: blocks sharing it are one model turn. */
|
|
146
|
+
messageId: string;
|
|
145
147
|
};
|
|
146
148
|
/**
|
|
147
149
|
* SessionAppend carries transcript lines the SDK wrote during this turn, in write order. A
|