mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-24 08:36:39 +08:00
chore: use sdk
This commit is contained in:
@ -15,10 +15,6 @@ export const sendChatMessage = async (body: Record<string, any>, { onData, onCom
|
||||
}, { onData, onCompleted, onError })
|
||||
}
|
||||
|
||||
export const fetchAppInfo = async () => {
|
||||
return get('site')
|
||||
}
|
||||
|
||||
export const fetchConversations = async () => {
|
||||
return get('conversations', { params: { limit: 20, first_id: '' } })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user