feat: [frontend] support vision (#1518)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
@@ -50,6 +50,10 @@ export const renameConversation = async (id: string, name: string) => {
|
||||
return post(getUrl(`conversations/${id}/name`), { body: { name } })
|
||||
}
|
||||
|
||||
export const generationConversationName = async (id: string) => {
|
||||
return post(getUrl(`conversations/${id}/name`), { body: { auto_generate: true } })
|
||||
}
|
||||
|
||||
export const fetchChatList = async (conversationId: string) => {
|
||||
return get(getUrl('messages'), { params: { conversation_id: conversationId, limit: 20, last_id: '' } })
|
||||
}
|
||||
|
Reference in New Issue
Block a user