mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +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>
|
||||
)}
|
||||
{!isMobile && (
|
||||
<div className={styles.toolItem} onClick={onOpenShowcase}>
|
||||
<IconFont type="icon-showcase" className={styles.toolIcon} />
|
||||
<div>showcase</div>
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.toolItem} onClick={onOpenShowcase}>
|
||||
<IconFont type="icon-showcase" className={styles.toolIcon} />
|
||||
<div>showcase</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.composer}>
|
||||
<div className={styles.composerInputWrapper}>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import axios from './axiosInstance';
|
||||
import {
|
||||
ChatContextType,
|
||||
DrillDownDimensionType,
|
||||
EntityInfoType,
|
||||
HistoryMsgItemType,
|
||||
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) {
|
||||
return axios.get<EntityInfoType>(
|
||||
`${prefix}/chat/query/getEntityInfo?queryId=${queryId}&parseId=${parseId}`
|
||||
|
||||
Reference in New Issue
Block a user