@wu529778790/open-im 1.8.3-beta.13 → 1.8.3-beta.14
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.
|
@@ -156,7 +156,9 @@ export class WorkBuddyCentrifugeClient {
|
|
|
156
156
|
success: payload.stop_reason === 'end_turn',
|
|
157
157
|
message,
|
|
158
158
|
metadata: {
|
|
159
|
-
|
|
159
|
+
// Use the incoming session_id (WeChat KF compound chatId) so the server
|
|
160
|
+
// can extract the external_userid for the WeChat KF send_msg touser.
|
|
161
|
+
sessionId: payload.session_id,
|
|
160
162
|
requestId: payload.prompt_id,
|
|
161
163
|
state: payload.stop_reason === 'end_turn' ? 'completed' : payload.stop_reason,
|
|
162
164
|
},
|