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.cjs
CHANGED
|
@@ -23083,7 +23083,7 @@ var get23 = function(param) {
|
|
|
23083
23083
|
var client = param.client, runAdapter = param.runAdapter;
|
|
23084
23084
|
return function(urlString) {
|
|
23085
23085
|
return _async_to_generator(function() {
|
|
23086
|
-
var url, _url_pathname_match, threadId, _ref, limit, order, after, conversation, sortOrder, items,
|
|
23086
|
+
var url, _url_pathname_match, threadId, _ref, limit, order, after, conversation, sortOrder, items, itemsWithRunIds, responseMap, timestampedItems, openaiAssistant;
|
|
23087
23087
|
return _ts_generator(this, function(_state) {
|
|
23088
23088
|
switch(_state.label){
|
|
23089
23089
|
case 0:
|
|
@@ -23110,12 +23110,9 @@ var get23 = function(param) {
|
|
|
23110
23110
|
];
|
|
23111
23111
|
case 2:
|
|
23112
23112
|
items = _state.sent();
|
|
23113
|
-
conversationMessages = items.data.filter(function(item) {
|
|
23114
|
-
return item.type === "message";
|
|
23115
|
-
});
|
|
23116
23113
|
itemsWithRunIds = mapItemsWithRunIds({
|
|
23117
23114
|
conversation: conversation,
|
|
23118
|
-
items:
|
|
23115
|
+
items: items.data
|
|
23119
23116
|
});
|
|
23120
23117
|
return [
|
|
23121
23118
|
4,
|