supercompat 3.9.2 → 3.9.3
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.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6835,7 +6835,9 @@ var serializeStatus2 = function(param) {
|
|
|
6835
6835
|
return item.status;
|
|
6836
6836
|
};
|
|
6837
6837
|
var serializeItemAsImageGenerationRunStep = function(param) {
|
|
6838
|
-
var item = param.item, openaiAssistant = param.openaiAssistant, threadId = param.threadId, runId = param.runId, _param_completedAt = param.completedAt, completedAt = _param_completedAt === void 0 ? (0, import_dayjs14.default)().unix() : _param_completedAt
|
|
6838
|
+
var item = param.item, openaiAssistant = param.openaiAssistant, threadId = param.threadId, runId = param.runId, _param_completedAt = param.completedAt, completedAt = _param_completedAt === void 0 ? (0, import_dayjs14.default)().unix() : _param_completedAt, tmp = param.status, status3 = tmp === void 0 ? serializeStatus2({
|
|
6839
|
+
item: item
|
|
6840
|
+
}) : tmp;
|
|
6839
6841
|
var toolCall = {
|
|
6840
6842
|
id: "ftc".concat(item.id),
|
|
6841
6843
|
type: "function",
|
|
@@ -6865,9 +6867,7 @@ var serializeItemAsImageGenerationRunStep = function(param) {
|
|
|
6865
6867
|
assistant_id: openaiAssistant.id,
|
|
6866
6868
|
thread_id: threadId,
|
|
6867
6869
|
run_id: runId,
|
|
6868
|
-
status:
|
|
6869
|
-
item: item
|
|
6870
|
-
}),
|
|
6870
|
+
status: status3,
|
|
6871
6871
|
last_error: null,
|
|
6872
6872
|
expired_at: null,
|
|
6873
6873
|
cancelled_at: null,
|
|
@@ -8369,7 +8369,7 @@ var responsesRunAdapter = function(param) {
|
|
|
8369
8369
|
4,
|
|
8370
8370
|
onEvent2.apply(void 0, [
|
|
8371
8371
|
(_tmp25.data = serializeItemAsImageGenerationRunStep.apply(void 0, [
|
|
8372
|
-
(_tmp26.openaiAssistant = _state.sent(), _tmp26.threadId = threadId, _tmp26.runId = responseCreatedResponse.id, _tmp26.completedAt = null, _tmp26)
|
|
8372
|
+
(_tmp26.openaiAssistant = _state.sent(), _tmp26.threadId = threadId, _tmp26.runId = responseCreatedResponse.id, _tmp26.status = "in_progress", _tmp26.completedAt = null, _tmp26)
|
|
8373
8373
|
]), _tmp25)
|
|
8374
8374
|
])
|
|
8375
8375
|
];
|