supercompat 4.0.3 → 4.0.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/openai/index.js
CHANGED
|
@@ -22927,7 +22927,7 @@ var get23 = function(param) {
|
|
|
22927
22927
|
var client = param.client, runAdapter = param.runAdapter;
|
|
22928
22928
|
return function(urlString) {
|
|
22929
22929
|
return _async_to_generator(function() {
|
|
22930
|
-
var url, _url_pathname_match, threadId, _assign11, limit, order, after, conversation, sortOrder, items,
|
|
22930
|
+
var url, _url_pathname_match, threadId, _assign11, limit, order, after, conversation, sortOrder, items, itemsWithRunIds, responseMap, timestampedItems, openaiAssistant;
|
|
22931
22931
|
return _ts_generator(this, function(_state) {
|
|
22932
22932
|
switch(_state.label){
|
|
22933
22933
|
case 0:
|
|
@@ -22954,12 +22954,9 @@ var get23 = function(param) {
|
|
|
22954
22954
|
];
|
|
22955
22955
|
case 2:
|
|
22956
22956
|
items = _state.sent();
|
|
22957
|
-
conversationMessages = items.data.filter(function(item) {
|
|
22958
|
-
return item.type === "message";
|
|
22959
|
-
});
|
|
22960
22957
|
itemsWithRunIds = mapItemsWithRunIds({
|
|
22961
22958
|
conversation: conversation,
|
|
22962
|
-
items:
|
|
22959
|
+
items: items.data
|
|
22963
22960
|
});
|
|
22964
22961
|
return [
|
|
22965
22962
|
4,
|