@adminforth/bulk-ai-flow 1.23.3 → 1.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -229,8 +229,8 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
229
229
|
}
|
|
230
230
|
catch (e) {
|
|
231
231
|
isError = true;
|
|
232
|
-
jobs.set(jobId, { status: 'failed', error:
|
|
233
|
-
return { ok: false, error:
|
|
232
|
+
jobs.set(jobId, { status: 'failed', error: `AI provider refused to fill fields: ${e}` });
|
|
233
|
+
return { ok: false, error: `AI provider refused to fill fields: ${e}` };
|
|
234
234
|
}
|
|
235
235
|
let resData;
|
|
236
236
|
try {
|
package/index.ts
CHANGED
|
@@ -229,8 +229,8 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
229
229
|
resp = chatResponse
|
|
230
230
|
} catch (e) {
|
|
231
231
|
isError = true;
|
|
232
|
-
jobs.set(jobId, { status: 'failed', error:
|
|
233
|
-
return { ok: false, error:
|
|
232
|
+
jobs.set(jobId, { status: 'failed', error: `AI provider refused to fill fields: ${e}` });
|
|
233
|
+
return { ok: false, error: `AI provider refused to fill fields: ${e}` };
|
|
234
234
|
}
|
|
235
235
|
let resData;
|
|
236
236
|
try {
|