mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
(improvement)(chat-sdk) add agentId to execute api and add PLAIN_TEXT query mode (#1223)
This commit is contained in:
@@ -123,7 +123,7 @@ const ChatItem: React.FC<Props> = ({
|
||||
setExecuteLoading(true);
|
||||
}
|
||||
try {
|
||||
const res: any = await chatExecute(msg, conversationId!, parseInfoValue);
|
||||
const res: any = await chatExecute(msg, conversationId!, parseInfoValue, agentId);
|
||||
const valid = updateData(res);
|
||||
onMsgDataLoaded?.(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user