Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<el-card shadow="always" class="border-r-8" style="--el-card-padding: 10px 16px 12px">
<MdRenderer
:source="prologue"
:send-message="sendMessage"
:send-message="chatMessage"
reasoning_content=""
:type="type"
:selection="selection"
Expand All @@ -37,6 +37,9 @@ const props = defineProps<{
sendMessage: (question: string, other_params_data?: any, chat?: chatType) => void
selection?: boolean
}>()
const chatMessage = (question: string, type: 'old' | 'new', other_params_data?: any) => {
props.sendMessage(question, other_params_data)
}

const showAvatar = computed(() => {
return props.application.show_avatar == undefined ? true : props.application.show_avatar
Expand Down
Loading