@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.
package/dist/react/index.mjs
CHANGED
|
@@ -3942,6 +3942,8 @@ var ChatUI = ({
|
|
|
3942
3942
|
saveEdit,
|
|
3943
3943
|
regenerate,
|
|
3944
3944
|
askOtherModel,
|
|
3945
|
+
setActiveAlternative,
|
|
3946
|
+
activeAlternatives,
|
|
3945
3947
|
updatePersonalization,
|
|
3946
3948
|
models: hookModels
|
|
3947
3949
|
} = useChatUI(hookOptions);
|
|
@@ -4061,7 +4063,9 @@ var ChatUI = ({
|
|
|
4061
4063
|
onEdit: startEdit,
|
|
4062
4064
|
onRegenerate: regenerate,
|
|
4063
4065
|
onQuote: setQuotedText,
|
|
4064
|
-
onAskOtherModel: askOtherModel,
|
|
4066
|
+
onAskOtherModel: (userMessageId, assistantMessageId, targetModel) => askOtherModel(assistantMessageId, targetModel),
|
|
4067
|
+
onSetActiveAlternative: setActiveAlternative,
|
|
4068
|
+
activeAlternatives,
|
|
4065
4069
|
models: hookModels,
|
|
4066
4070
|
copiedId: copiedMessageId,
|
|
4067
4071
|
editingId: editingMessageId
|