Skip to content

Commit 5189175

Browse files
committed
fix: Import error
1 parent 779aadd commit 5189175

2 files changed

Lines changed: 19 additions & 15 deletions

File tree

  • apps/models_provider/impl/tencent_model_provider/credential
  • ui/src/views/trigger

apps/models_provider/impl/tencent_model_provider/credential/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from common.exception.app_exception import AppApiException
1616
from common.forms import BaseForm, TooltipLabel
1717
from common.utils.logger import maxkb_logger
18-
from community.apps.models_provider.impl.xf_model_provider.xf_model_provider import default_tts_credential
18+
from apps.models_provider.impl.xf_model_provider.xf_model_provider import default_tts_credential
1919
from models_provider.base_model_provider import BaseModelCredential, ValidCode
2020

2121

ui/src/views/trigger/index.vue

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,24 @@
140140
width="180"
141141
>
142142
<template #default="{ row }">
143-
<div class="flex">
144-
<el-check-tag type="info" class="mr-8"
145-
>智能体
146-
{{
147-
row.trigger_task.filter((item: any) => item.type === 'APPLICATION').length
148-
}}</el-check-tag
149-
>
150-
<el-check-tag type="info"
151-
>工具
152-
{{
153-
row.trigger_task.filter((item: any) => item.type === 'TOOL').length
154-
}}</el-check-tag
155-
>
156-
</div>
143+
<el-popover>
144+
<template #reference>
145+
<div class="flex">
146+
<el-check-tag type="info" class="mr-8"
147+
>智能体
148+
{{
149+
row.trigger_task.filter((item: any) => item.type === 'APPLICATION').length
150+
}}</el-check-tag
151+
>
152+
<el-check-tag type="info"
153+
>工具
154+
{{
155+
row.trigger_task.filter((item: any) => item.type === 'TOOL').length
156+
}}</el-check-tag
157+
>
158+
</div>
159+
</template>
160+
</el-popover>
157161
</template>
158162
</el-table-column>
159163
<el-table-column align="left" width="160" fixed="right" :label="$t('common.operation')">

0 commit comments

Comments
 (0)