@rapidaai/react 1.1.32 → 1.1.33

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.
@@ -6640,7 +6640,7 @@ var require_talk_api_pb = __commonJS({
6640
6640
  proto.talk_api.AssistantMessagingRequest.toObject = function(includeInstance, msg) {
6641
6641
  var f, obj = {
6642
6642
  configuration: (f = msg.getConfiguration()) && proto.talk_api.AssistantConversationConfiguration.toObject(includeInstance, f),
6643
- message: (f = msg.getMessage()) && common_pb.Message.toObject(includeInstance, f)
6643
+ message: (f = msg.getMessage()) && proto.talk_api.AssistantConversationUserMessage.toObject(includeInstance, f)
6644
6644
  };
6645
6645
  if (includeInstance) {
6646
6646
  obj.$jspbMessageInstance = msg;
@@ -6666,8 +6666,8 @@ var require_talk_api_pb = __commonJS({
6666
6666
  msg.setConfiguration(value);
6667
6667
  break;
6668
6668
  case 3:
6669
- var value = new common_pb.Message();
6670
- reader.readMessage(value, common_pb.Message.deserializeBinaryFromReader);
6669
+ var value = new proto.talk_api.AssistantConversationUserMessage();
6670
+ reader.readMessage(value, proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader);
6671
6671
  msg.setMessage(value);
6672
6672
  break;
6673
6673
  default:
@@ -6697,7 +6697,7 @@ var require_talk_api_pb = __commonJS({
6697
6697
  writer.writeMessage(
6698
6698
  3,
6699
6699
  f,
6700
- common_pb.Message.serializeBinaryToWriter
6700
+ proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter
6701
6701
  );
6702
6702
  }
6703
6703
  };
@@ -6718,8 +6718,8 @@ var require_talk_api_pb = __commonJS({
6718
6718
  };
6719
6719
  proto.talk_api.AssistantMessagingRequest.prototype.getMessage = function() {
6720
6720
  return (
6721
- /** @type{?proto.Message} */
6722
- jspb.Message.getWrapperField(this, common_pb.Message, 3)
6721
+ /** @type{?proto.talk_api.AssistantConversationUserMessage} */
6722
+ jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationUserMessage, 3)
6723
6723
  );
6724
6724
  };
6725
6725
  proto.talk_api.AssistantMessagingRequest.prototype.setMessage = function(value) {
@@ -26435,10 +26435,12 @@ var Agent = class extends EventEmitter {
26435
26435
  */
26436
26436
  createAssistantRequest(role, contents) {
26437
26437
  const request = new import_talk_api_pb.AssistantMessagingRequest();
26438
+ const userMessage = new import_talk_api_pb.AssistantConversationUserMessage();
26438
26439
  const message = new import_common_pb6.Message();
26439
26440
  message.setRole(role);
26440
26441
  message.setContentsList(contents);
26441
- request.setMessage(message);
26442
+ userMessage.setMessage(message);
26443
+ request.setMessage(userMessage);
26442
26444
  return request;
26443
26445
  }
26444
26446
  /**
@@ -27842,4 +27844,4 @@ export {
27842
27844
  useSelectInputDeviceAgent,
27843
27845
  DeviceSelectorComponent
27844
27846
  };
27845
- //# sourceMappingURL=chunk-44S2T5NC.mjs.map
27847
+ //# sourceMappingURL=chunk-WVE26DLV.mjs.map