mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 05:43:51 +00:00
[feature](weaapp) add agent
This commit is contained in:
@@ -90,7 +90,12 @@ const Conversation: ForwardRefRenderFunction<any, Props> = (
|
||||
defaultEntityFilter?.entityName && window.location.pathname.includes('detail')
|
||||
? defaultEntityFilter.entityName
|
||||
: defaultModelName;
|
||||
onAddConversation({ name: conversationName, type: 'CUSTOMIZE' });
|
||||
onAddConversation({
|
||||
name: conversationName,
|
||||
type: 'CUSTOMIZE',
|
||||
modelId: defaultEntityFilter?.modelId,
|
||||
entityId: defaultEntityFilter?.entityId,
|
||||
});
|
||||
onNewConversationTriggered?.();
|
||||
}
|
||||
}, [triggerNewConversation]);
|
||||
|
||||
Reference in New Issue
Block a user