File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
components/generate-related-dialog
views/paragraph/component Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ const submitHandle = async (formEl: FormInstance) => {
190190
191191function getModelFn() {
192192 loading .value = true
193- loadSharedApi ({ type: ' knowledge ' , systemType: props .apiType })
194- .getKnowledgeModel ( )
193+ loadSharedApi ({ type: ' model ' , systemType: props .apiType })
194+ .getSelectModelList ({ model_type: ' LLM ' } )
195195 .then ((res : any ) => {
196196 modelOptions .value = groupBy (res ?.data , ' provider' )
197197 loading .value = false
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ function changeState(row: any) {
137137const GenerateRelatedDialogRef = ref <InstanceType <typeof GenerateRelatedDialog >>()
138138function openGenerateDialog(row : any ) {
139139 if (GenerateRelatedDialogRef .value ) {
140- GenerateRelatedDialogRef .value .open ([], ' paragraph' , row .id )
140+ GenerateRelatedDialogRef .value .open ([row . id ], ' paragraph' , row .id )
141141 }
142142}
143143function deleteParagraph(row : any ) {
You can’t perform that action at this time.
0 commit comments