|
|
|
@ -207,7 +207,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
|
|
|
|
<div className='text-gray-700 font-medium text-sm mt-2'>{detail.model_config?.pre_prompt || emptyText}</div>
|
|
|
|
<div className='text-gray-700 font-medium text-sm mt-2'>{detail.model_config?.pre_prompt || emptyText}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{!isChatMode
|
|
|
|
{!isChatMode
|
|
|
|
? <div className="px-2.5 py-4 overflow-y-auto">
|
|
|
|
? <div className="px-2.5 py-4">
|
|
|
|
<Chat
|
|
|
|
<Chat
|
|
|
|
chatList={getFormattedChatList([detail.message])}
|
|
|
|
chatList={getFormattedChatList([detail.message])}
|
|
|
|
isHideSendInput={true}
|
|
|
|
isHideSendInput={true}
|
|
|
|
@ -217,7 +217,7 @@ function DetailPanel<T extends ChatConversationFullDetailResponse | CompletionCo
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
: items.length < 8
|
|
|
|
: items.length < 8
|
|
|
|
? <div className="px-2.5 pt-4 mb-4 overflow-y-auto">
|
|
|
|
? <div className="px-2.5 pt-4 mb-4">
|
|
|
|
<Chat
|
|
|
|
<Chat
|
|
|
|
chatList={items}
|
|
|
|
chatList={items}
|
|
|
|
isHideSendInput={true}
|
|
|
|
isHideSendInput={true}
|
|
|
|
|