mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-13 13:04:24 +01:00
chore: remove unused abortRequest hook
This commit is contained in:
parent
fe0591d2a2
commit
7001c1a388
4 changed files with 1 additions and 30 deletions
|
|
@ -12,9 +12,7 @@ function isUUID(uuid: string) {
|
|||
}
|
||||
|
||||
const waitForServerStream = async (response: Response) => {
|
||||
const endpointCheck =
|
||||
response.url().includes(`/api/ask/${endpoint}`) ||
|
||||
response.url().includes(`/api/edit/${endpoint}`);
|
||||
const endpointCheck = response.url().includes(`/api/agents`);
|
||||
return endpointCheck && response.status() === 200;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue