This commit is contained in:
Archer
2024-12-03 00:11:38 +08:00
committed by GitHub
parent f28b7e41a8
commit cb56d1e53e
6 changed files with 11 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ const DetailLogsModal = ({ appId, chatId, onClose }: Props) => {
</Box>
) : (
<ChatBox
isReady
appId={appId}
chatId={chatId}
feedbackType={'admin'}

View File

@@ -82,6 +82,7 @@ export const useChatTest = ({
useEffect(() => {
setChatBoxData({
userAvatar: userInfo?.avatar,
appId: appId,
app: {
chatConfig,
name: appDetail.name,
@@ -94,6 +95,7 @@ export const useChatTest = ({
appDetail.avatar,
appDetail.name,
appDetail.type,
appId,
chatConfig,
pluginInputs,
setChatBoxData,

View File

@@ -209,6 +209,7 @@ const Chat = ({ myApps }: { myApps: AppListItemType[] }) => {
chatType={'chat'}
showRawSource
showNodeStatus
isReady={!loading}
/>
)}
</Box>

View File

@@ -278,6 +278,7 @@ const OutLink = (props: Props) => {
/>
) : (
<ChatBox
isReady={!loading}
appId={appId}
chatId={chatId}
outLinkAuthData={outLinkAuthData}

View File

@@ -218,6 +218,7 @@ const Chat = ({ myApps }: { myApps: AppListItemType[] }) => {
/>
) : (
<ChatBox
isReady={!loading}
appId={appId}
chatId={chatId}
outLinkAuthData={outLinkAuthData}