chore: remove unused abortRequest hook

This commit is contained in:
Danny Avila 2025-06-21 14:50:18 -04:00
parent fe0591d2a2
commit 7001c1a388
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
4 changed files with 1 additions and 30 deletions

View file

@ -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;
};