mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 19:30:15 +01:00
feat: convert Chat.jsx to RQ
This commit is contained in:
parent
573112de7b
commit
1cb8ef9803
6 changed files with 53 additions and 111 deletions
|
|
@ -2,10 +2,6 @@ import * as t from './types';
|
|||
import request from './request';
|
||||
import * as endpoints from './endpoints';
|
||||
|
||||
export function postAICompletion(payload: t.TAICompletionRequest) {
|
||||
return request.post(endpoints.getAICompletion(), payload);
|
||||
}
|
||||
|
||||
export function getConversations(pageNumber: string): Promise<t.TGetConversationsResponse> {
|
||||
return request.get(endpoints.getConversations(pageNumber));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue