mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
(feature)(chat-sdk) show showcase button in mobile mode (#516)
This commit is contained in:
@@ -317,12 +317,10 @@ const ChatFooter: ForwardRefRenderFunction<any, Props> = (
|
|||||||
<div>智能助理</div>
|
<div>智能助理</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!isMobile && (
|
<div className={styles.toolItem} onClick={onOpenShowcase}>
|
||||||
<div className={styles.toolItem} onClick={onOpenShowcase}>
|
<IconFont type="icon-showcase" className={styles.toolIcon} />
|
||||||
<IconFont type="icon-showcase" className={styles.toolIcon} />
|
<div>showcase</div>
|
||||||
<div>showcase</div>
|
</div>
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.composer}>
|
<div className={styles.composer}>
|
||||||
<div className={styles.composerInputWrapper}>
|
<div className={styles.composerInputWrapper}>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import axios from './axiosInstance';
|
import axios from './axiosInstance';
|
||||||
import {
|
import {
|
||||||
ChatContextType,
|
ChatContextType,
|
||||||
DrillDownDimensionType,
|
|
||||||
EntityInfoType,
|
EntityInfoType,
|
||||||
HistoryMsgItemType,
|
HistoryMsgItemType,
|
||||||
HistoryType,
|
HistoryType,
|
||||||
@@ -127,12 +126,6 @@ export function queryDimensionValues(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// export function querySimilarQuestions(queryText: string, agentId?: number) {
|
|
||||||
// return axios.get<any>(
|
|
||||||
// `${prefix}/chat/manage/getSolvedQuery?queryText=${queryText}&agentId=${agentId || 0}`
|
|
||||||
// );
|
|
||||||
// }
|
|
||||||
|
|
||||||
export function queryEntityInfo(queryId: number, parseId: number) {
|
export function queryEntityInfo(queryId: number, parseId: number) {
|
||||||
return axios.get<EntityInfoType>(
|
return axios.get<EntityInfoType>(
|
||||||
`${prefix}/chat/query/getEntityInfo?queryId=${queryId}&parseId=${parseId}`
|
`${prefix}/chat/query/getEntityInfo?queryId=${queryId}&parseId=${parseId}`
|
||||||
|
|||||||
Reference in New Issue
Block a user