feat: 会话详情
This commit is contained in:
@ -24,11 +24,11 @@ import {
|
||||
QUESTION_ROLE,
|
||||
ANSWER_ROLE,
|
||||
INTELLECTUAL_THINKING_ROLE,
|
||||
FILE_ROLE,
|
||||
LOADING_ROLE,
|
||||
THOUGHT_ROLE,
|
||||
ROLE_STYLE,
|
||||
EnumTeamRunStatus,
|
||||
REMOTE_USER_ROLE,
|
||||
REMOTE_ASSISTANT_ROLE,
|
||||
FILE_TYPE_MAP,
|
||||
} from './constants';
|
||||
import type { UseChatHandlerReturn } from './constants';
|
||||
@ -79,16 +79,21 @@ export default function useChatHandler({ initSse }): UseChatHandlerReturn {
|
||||
},
|
||||
style: ROLE_STYLE,
|
||||
},
|
||||
[THOUGHT_ROLE]: {
|
||||
placement: 'start',
|
||||
variant: 'borderless',
|
||||
style: ROLE_STYLE,
|
||||
},
|
||||
[QUESTION_ROLE]: {
|
||||
placement: 'end',
|
||||
shape: 'round',
|
||||
style: ROLE_STYLE,
|
||||
},
|
||||
[REMOTE_USER_ROLE]: {
|
||||
placement: 'end',
|
||||
shape: 'round',
|
||||
style: ROLE_STYLE,
|
||||
},
|
||||
[REMOTE_ASSISTANT_ROLE]: {
|
||||
placement: 'start',
|
||||
variant: 'borderless',
|
||||
style: ROLE_STYLE,
|
||||
},
|
||||
};
|
||||
|
||||
// 下载处理
|
||||
@ -298,7 +303,7 @@ export default function useChatHandler({ initSse }): UseChatHandlerReturn {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
_targetTask.footer = () => {
|
||||
return (
|
||||
<div class="flex items-center">
|
||||
|
||||
Reference in New Issue
Block a user