@gendive/chatllm 0.6.0 → 0.6.1

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.
@@ -3991,6 +3991,8 @@ var ChatUI = ({
3991
3991
  saveEdit,
3992
3992
  regenerate,
3993
3993
  askOtherModel,
3994
+ setActiveAlternative,
3995
+ activeAlternatives,
3994
3996
  updatePersonalization,
3995
3997
  models: hookModels
3996
3998
  } = useChatUI(hookOptions);
@@ -4110,7 +4112,9 @@ var ChatUI = ({
4110
4112
  onEdit: startEdit,
4111
4113
  onRegenerate: regenerate,
4112
4114
  onQuote: setQuotedText,
4113
- onAskOtherModel: askOtherModel,
4115
+ onAskOtherModel: (userMessageId, assistantMessageId, targetModel) => askOtherModel(assistantMessageId, targetModel),
4116
+ onSetActiveAlternative: setActiveAlternative,
4117
+ activeAlternatives,
4114
4118
  models: hookModels,
4115
4119
  copiedId: copiedMessageId,
4116
4120
  editingId: editingMessageId