@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.
@@ -1,4 +1,4 @@
1
- export { ez as DeviceSelectorComponent } from '../device-selector-BhpZeIAM.mjs';
1
+ export { ez as DeviceSelectorComponent } from '../device-selector-Cp35JIzW.mjs';
2
2
  import 'react';
3
3
  import 'google-protobuf';
4
4
  import 'google-protobuf/google/protobuf/any_pb';
@@ -1,4 +1,4 @@
1
- export { ez as DeviceSelectorComponent } from '../device-selector-BhpZeIAM.js';
1
+ export { ez as DeviceSelectorComponent } from '../device-selector-Cp35JIzW.js';
2
2
  import 'react';
3
3
  import 'google-protobuf';
4
4
  import 'google-protobuf/google/protobuf/any_pb';
@@ -6665,7 +6665,7 @@ var require_talk_api_pb = __commonJS({
6665
6665
  proto.talk_api.AssistantMessagingRequest.toObject = function(includeInstance, msg) {
6666
6666
  var f, obj = {
6667
6667
  configuration: (f = msg.getConfiguration()) && proto.talk_api.AssistantConversationConfiguration.toObject(includeInstance, f),
6668
- message: (f = msg.getMessage()) && common_pb.Message.toObject(includeInstance, f)
6668
+ message: (f = msg.getMessage()) && proto.talk_api.AssistantConversationUserMessage.toObject(includeInstance, f)
6669
6669
  };
6670
6670
  if (includeInstance) {
6671
6671
  obj.$jspbMessageInstance = msg;
@@ -6691,8 +6691,8 @@ var require_talk_api_pb = __commonJS({
6691
6691
  msg.setConfiguration(value);
6692
6692
  break;
6693
6693
  case 3:
6694
- var value = new common_pb.Message();
6695
- reader.readMessage(value, common_pb.Message.deserializeBinaryFromReader);
6694
+ var value = new proto.talk_api.AssistantConversationUserMessage();
6695
+ reader.readMessage(value, proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader);
6696
6696
  msg.setMessage(value);
6697
6697
  break;
6698
6698
  default:
@@ -6722,7 +6722,7 @@ var require_talk_api_pb = __commonJS({
6722
6722
  writer.writeMessage(
6723
6723
  3,
6724
6724
  f,
6725
- common_pb.Message.serializeBinaryToWriter
6725
+ proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter
6726
6726
  );
6727
6727
  }
6728
6728
  };
@@ -6743,8 +6743,8 @@ var require_talk_api_pb = __commonJS({
6743
6743
  };
6744
6744
  proto.talk_api.AssistantMessagingRequest.prototype.getMessage = function() {
6745
6745
  return (
6746
- /** @type{?proto.Message} */
6747
- jspb.Message.getWrapperField(this, common_pb.Message, 3)
6746
+ /** @type{?proto.talk_api.AssistantConversationUserMessage} */
6747
+ jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationUserMessage, 3)
6748
6748
  );
6749
6749
  };
6750
6750
  proto.talk_api.AssistantMessagingRequest.prototype.setMessage = function(value) {
@@ -25686,10 +25686,12 @@ var Agent = class extends import_events.EventEmitter {
25686
25686
  */
25687
25687
  createAssistantRequest(role, contents) {
25688
25688
  const request = new import_talk_api_pb.AssistantMessagingRequest();
25689
+ const userMessage = new import_talk_api_pb.AssistantConversationUserMessage();
25689
25690
  const message = new import_common_pb6.Message();
25690
25691
  message.setRole(role);
25691
25692
  message.setContentsList(contents);
25692
- request.setMessage(message);
25693
+ userMessage.setMessage(message);
25694
+ request.setMessage(userMessage);
25693
25695
  return request;
25694
25696
  }
25695
25697
  /**