Skip to content

Commit a4d10cb

Browse files
fix: Application of multi-file style issues and modification of copywriting (#3110)
1 parent ceccf9f commit a4d10cb

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ const uploadFile = async (file: any, fileList: any) => {
418418
formData.append('file', file.raw, file.name)
419419
//
420420
const extension = file.name.split('.').pop().toUpperCase() // 获取文件后缀名并转为小写
421-
421+
console.log(documentExtensions)
422422
if (imageExtensions.includes(extension)) {
423423
uploadImageList.value.push(file)
424424
} else if (documentExtensions.includes(extension)) {

ui/src/components/ai-chat/component/question-content/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ onMounted(() => {})
200200
}
201201
.media-file-width {
202202
:deep(.el-space__item) {
203-
min-width: 40% !important;
204-
flex-grow: 1;
203+
width: 49% !important;
205204
}
206205
}
207206
.media_2 {

ui/src/locales/lang/en-US/views/application-workflow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,14 @@ export default {
223223
},
224224
mcpNode: {
225225
label: 'MCP Server',
226-
text: 'Call MCP Tools through SSE/STREAMABLE_HTTP',
226+
text: 'Call MCP Tools through SSE',
227227
getToolsSuccess: 'Get Tools Successfully',
228228
getTool: 'Get Tools',
229229
tool: 'Tool',
230230
toolParam: 'Tool Params',
231231
mcpServerTip: 'Please enter the JSON format of the MCP server config',
232232
mcpToolTip: 'Please select a tool',
233-
configLabel: 'MCP Server Config (Only supports SSE/STREAMABLE_HTTP call method)'
233+
configLabel: 'MCP Server Config (Only supports SSE call method)'
234234
},
235235
imageGenerateNode: {
236236
label: 'Image Generation',

ui/src/locales/lang/zh-CN/views/application-workflow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,14 @@ export default {
224224
},
225225
mcpNode: {
226226
label: 'MCP 调用',
227-
text: '通过SSE/STREAMABLE_HTTP方式执行MCP服务中的工具',
227+
text: '通过SSE方式执行MCP服务中的工具',
228228
getToolsSuccess: '获取工具成功',
229229
getTool: '获取工具',
230230
tool: '工具',
231231
toolParam: '工具参数',
232232
mcpServerTip: '请输入JSON格式的MCP服务器配置',
233233
mcpToolTip: '请选择工具',
234-
configLabel: 'MCP Server Config (仅支持SSE/STREAMABLE_HTTP调用方式)'
234+
configLabel: 'MCP Server Config (仅支持SSE调用方式)'
235235
},
236236
imageGenerateNode: {
237237
label: '图片生成',

ui/src/locales/lang/zh-Hant/views/application-workflow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,14 @@ export default {
223223
},
224224
mcpNode: {
225225
label: 'MCP 調用',
226-
text: '透過SSE/STREAMABLE_HTTP方式執行MCP服務中的工具',
226+
text: '透過SSE方式執行MCP服務中的工具',
227227
getToolsSuccess: '獲取工具成功',
228228
getTool: '獲取工具',
229229
tool: '工具',
230230
toolParam: '工具變數',
231231
mcpServerTip: '請輸入JSON格式的MCP服務器配置',
232232
mcpToolTip: '請選擇工具',
233-
configLabel: 'MCP Server Config (僅支持SSE/STREAMABLE_HTTP調用方式)'
233+
configLabel: 'MCP Server Config (僅支持SSE調用方式)'
234234
},
235235
imageGenerateNode: {
236236
label: '圖片生成',

0 commit comments

Comments
 (0)