Label Initial Prompt

This commit is contained in:
AbdBarho
2023-01-07 17:24:43 +01:00
parent 4ecdc57621
commit 53814d77ab
9 changed files with 210 additions and 25 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export class OasstApiClient {
} catch (e) {
throw new OasstError(errorText, 0, resp.status);
}
throw new OasstError(error.message, error.error_code, resp.status);
throw new OasstError(error.message ?? error, error.error_code, resp.status);
}
return await resp.json();