Skip to content

Commit 60f7526

Browse files
authored
4.6.1 production (#498)
1 parent 0558379 commit 60f7526

File tree

46 files changed

+93
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+93
-63
lines changed

packages/global/core/module/node/constant.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export enum FlowNodeOutputTypeEnum {
2727

2828
export enum FlowNodeTypeEnum {
2929
empty = 'empty',
30-
variable = 'variable',
3130
userGuide = 'userGuide',
3231
questionInput = 'questionInput',
3332
historyNode = 'historyNode',
@@ -40,7 +39,10 @@ export enum FlowNodeTypeEnum {
4039
runApp = 'app',
4140
pluginModule = 'pluginModule',
4241
pluginInput = 'pluginInput',
43-
pluginOutput = 'pluginOutput'
42+
pluginOutput = 'pluginOutput',
43+
44+
// abandon
45+
variable = 'variable'
4446
}
4547

4648
export enum FlowNodeSpecialInputKeyEnum {

projects/app/src/components/ChatBox/MessageInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ ${images.map((img) => JSON.stringify({ src: img.src })).join('\n')}
338338
}}
339339
onPaste={(e) => {
340340
const clipboardData = e.clipboardData;
341-
if (clipboardData) {
341+
if (clipboardData && showFileSelector) {
342342
const items = clipboardData.items;
343343
const files = Array.from(items)
344344
.map((item) => (item.kind === 'file' ? item.getAsFile() : undefined))

projects/app/src/components/ChatBox/QuoteModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const QuoteModal = ({
110110
href={`/dataset/detail?datasetId=${item.datasetId}&currentTab=dataCard&collectionId=${item.collectionId}`}
111111
>
112112
{t('core.dataset.Go Dataset')}
113-
<MyIcon name={'rightArrowLight'} w={'10px'} />
113+
<MyIcon name={'common/rightArrowLight'} w={'10px'} />
114114
</Link>
115115
)}
116116
</Flex>

projects/app/src/components/ChatBox/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ const ChatBox = (
774774
{showMarkIcon && item.adminFeedback && (
775775
<Box>
776776
<Flex alignItems={'center'} py={2}>
777-
<MyIcon name={'markLight'} w={'14px'} color={'myGray.900'} />
777+
<MyIcon name={'core/app/markLight'} w={'14px'} color={'myGray.900'} />
778778
<Box ml={2} color={'myGray.500'}>
779779
{t('chat.Admin Mark Content')}
780780
</Box>
@@ -1093,7 +1093,7 @@ function ChatController({
10931093
<MyTooltip label={t('chat.retry')}>
10941094
<MyIcon
10951095
{...controlIconStyle}
1096-
name={'retryLight'}
1096+
name={'common/retryLight'}
10971097
_hover={{ color: 'green.500' }}
10981098
onClick={onRetry}
10991099
/>
@@ -1113,7 +1113,7 @@ function ChatController({
11131113
hasAudio &&
11141114
(audioLoading ? (
11151115
<MyTooltip label={'加载中...'}>
1116-
<MyIcon {...controlIconStyle} name={'loading'} />
1116+
<MyIcon {...controlIconStyle} name={'common/loading'} />
11171117
</MyTooltip>
11181118
) : audioPlaying ? (
11191119
<Flex alignItems={'center'} mr={2}>
@@ -1160,7 +1160,7 @@ function ChatController({
11601160
<MyTooltip label={t('chat.Mark')}>
11611161
<MyIcon
11621162
{...controlIconStyle}
1163-
name={'markLight'}
1163+
name={'core/app/markLight'}
11641164
_hover={{ color: '#67c13b' }}
11651165
onClick={onMark}
11661166
/>
@@ -1174,7 +1174,7 @@ function ChatController({
11741174
color={'white'}
11751175
bg={'#FC9663'}
11761176
fontWeight={'bold'}
1177-
name={'badLight'}
1177+
name={'core/chat/feedback/badLight'}
11781178
onClick={onReadFeedback}
11791179
/>
11801180
</MyTooltip>
@@ -1196,7 +1196,7 @@ function ChatController({
11961196
_hover: { color: '#FB7C3C' },
11971197
onClick: onFeedback
11981198
})}
1199-
name={'badLight'}
1199+
name={'core/chat/feedback/badLight'}
12001200
/>
12011201
</MyTooltip>
12021202
)}

0 commit comments

Comments
 (0)