Spaces:
Configuration error
Configuration error
Download frontend/src/api/open-hands.utils.ts from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/api/open-hands.utils.ts
- Command line
-
hf download hf://spaces/flyingdarkdev/README/frontend/src/api/open-hands.utils.ts
-
curl -L -o open-hands.utils.ts https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/frontend/src/api/open-hands.utils.ts
265 Bytes
| import { ErrorResponse, FileUploadSuccessResponse } from "./open-hands.types"; | |
| export const isOpenHandsErrorResponse = ( | |
| data: ErrorResponse | FileUploadSuccessResponse, | |
| ): data is ErrorResponse => | |
| typeof data === "object" && data !== null && "error" in data; | |