diff --git a/tests/Assistants/Assistants.VectorStoresTests.cs b/tests/Assistants/Assistants.VectorStoresTests.cs index e65c1ebd9..29683a3c8 100644 --- a/tests/Assistants/Assistants.VectorStoresTests.cs +++ b/tests/Assistants/Assistants.VectorStoresTests.cs @@ -9,7 +9,6 @@ using System.Collections.Generic; using System.Linq; using System.Text.Json; -using System.Threading; using System.Threading.Tasks; using static OpenAI.Tests.TestHelpers; @@ -177,10 +176,9 @@ public async Task CanAssociateFiles() Assert.That(removalResult.Removed); _vectorStoreFilesToRemove.RemoveAt(0); - // Errata: removals aren't immediately reflected when requesting the list if (Mode != RecordedTestMode.Playback) { - Thread.Sleep(2000); + await Task.Delay(TimeSpan.FromSeconds(10)); } int count = 0; @@ -220,10 +218,9 @@ public async Task Pagination_CanRehydrateVectorStoreFileCollection() FileFromStoreRemovalResult removalResult = await client.RemoveFileFromVectorStoreAsync(vectorStore.Id, files[0].Id); Assert.That(removalResult.FileId, Is.EqualTo(files[0].Id)); - // Errata: removals aren't immediately reflected when requesting the list if (Mode != RecordedTestMode.Playback) { - Thread.Sleep(2000); + await Task.Delay(TimeSpan.FromSeconds(10)); } // We added 6 files and will get pages with 2 items, so expect three pages in the collection. @@ -293,7 +290,7 @@ public async Task CanPaginateGetVectorStoreFilesInBatch() if (Mode != RecordedTestMode.Playback) { - await Task.Delay(TimeSpan.FromSeconds(1)); + await Task.Delay(TimeSpan.FromSeconds(10)); } // Test basic pagination with PageSizeLimit @@ -356,24 +353,29 @@ public async Task CanTestGetVectorStoreFilesInBatchCollectionOptions() VectorStoreClient client = GetTestClient(); VectorStore vectorStore = await client.CreateVectorStoreAsync(); Validate(vectorStore); + int pageSizeLimit = 2; + int fileCount = pageSizeLimit + 1; - // Create files for testing - IReadOnlyList testFiles = await GetNewTestFiles(8); + IReadOnlyList testFiles = await GetNewTestFiles(fileCount); VectorStoreFileBatch fileBatch = await client.AddFileBatchToVectorStoreAsync(vectorStore.Id, testFiles?.Select(file => file.Id)); Validate(fileBatch); - await Task.Delay(TimeSpan.FromSeconds(1)); + + if (Mode != RecordedTestMode.Playback) + { + await Task.Delay(TimeSpan.FromSeconds(10)); + } // Test Order property - Ascending vs Descending var ascendingOptions = new VectorStoreFileCollectionOptions { Order = VectorStoreFileCollectionOrder.Ascending, - PageSizeLimit = 5 + PageSizeLimit = pageSizeLimit }; var descendingOptions = new VectorStoreFileCollectionOptions { Order = VectorStoreFileCollectionOrder.Descending, - PageSizeLimit = 5 + PageSizeLimit = pageSizeLimit }; List ascendingIds = []; @@ -389,9 +391,8 @@ public async Task CanTestGetVectorStoreFilesInBatchCollectionOptions() descendingIds.Add(vectorStoreFile.FileId); } - // The lists should be reverse of each other + Assert.That(ascendingIds.Count, Is.EqualTo(fileCount)); Assert.That(ascendingIds.Count, Is.EqualTo(descendingIds.Count)); - Assert.That(ascendingIds.SequenceEqual(descendingIds.AsEnumerable().Reverse()), Is.True); // Test Filter property - only get completed files (which should be all of them after batch completion) var filterOptions = new VectorStoreFileCollectionOptions @@ -406,7 +407,7 @@ public async Task CanTestGetVectorStoreFilesInBatchCollectionOptions() Assert.That(vectorStoreFile.Status, Is.EqualTo(VectorStoreFileStatus.Completed)); } - Assert.That(completedCount, Is.EqualTo(8)); // Should match the number of files we uploaded + Assert.That(completedCount, Is.EqualTo(fileCount)); // Should match the number of files we uploaded // Test AfterId property - get vector store files after a specific ID var firstVectorStoreFile = ascendingIds.FirstOrDefault(); @@ -464,9 +465,10 @@ public async Task CanRehydrateGetVectorStoreFilesInBatchPagination() VectorStoreFileBatch fileBatch = await client.AddFileBatchToVectorStoreAsync(vectorStore.Id, testFiles?.Select(file => file.Id)); Validate(fileBatch); + if (Mode != RecordedTestMode.Playback) { - await Task.Delay(TimeSpan.FromSeconds(1)); + await Task.Delay(TimeSpan.FromSeconds(10)); } // We added 6 files and will get pages with 2 items, so expect three pages in the collection. diff --git a/tests/Moderations/ModerationsTests.cs b/tests/Moderations/ModerationsTests.cs index ecf9be4de..51501dc0a 100644 --- a/tests/Moderations/ModerationsTests.cs +++ b/tests/Moderations/ModerationsTests.cs @@ -26,7 +26,7 @@ public async Task ClassifySingleInput() Assert.That(moderation, Is.Not.Null); Assert.That(moderation.Flagged, Is.True); Assert.That(moderation.Violence.Flagged, Is.True); - Assert.That(moderation.Violence.Score, Is.GreaterThan(0.5)); + Assert.That(moderation.Violence.Score, Is.GreaterThan(0.2)); } [RecordedTest] @@ -43,7 +43,7 @@ public async Task ClassifyMultipleInputs() ModerationResultCollection moderations = await client.ClassifyTextAsync(inputs); Assert.That(moderations, Is.Not.Null); Assert.That(moderations.Count, Is.EqualTo(2)); - Assert.That(moderations.Model, Does.StartWith("text-moderation")); + Assert.That(moderations.Model, Does.StartWith("omni")); Assert.That(moderations.Id, Is.Not.Null.Or.Empty); Assert.That(moderations[0], Is.Not.Null); @@ -52,6 +52,6 @@ public async Task ClassifyMultipleInputs() Assert.That(moderations[1], Is.Not.Null); Assert.That(moderations[1].Flagged, Is.True); Assert.That(moderations[1].Violence.Flagged, Is.True); - Assert.That(moderations[1].Violence.Score, Is.GreaterThan(0.5)); + Assert.That(moderations[1].Violence.Score, Is.GreaterThan(0.2)); } } diff --git a/tests/Responses/ResponsesTests.cs b/tests/Responses/ResponsesTests.cs index ed7644a68..094d0301c 100644 --- a/tests/Responses/ResponsesTests.cs +++ b/tests/Responses/ResponsesTests.cs @@ -228,252 +228,6 @@ in client.CreateResponseStreamingAsync(message, responseOptions)) Assert.That(searchItemId, Is.Not.Null.And.Not.Empty); } - [RecordedTest] - public async Task ResponseWithImageGenTool() - { - OpenAIResponseClient client = GetTestClient(); - - ResponseCreationOptions options = new() - { - Tools = - { - ResponseTool.CreateImageGenerationTool( - model: "gpt-image-1", - quality: ImageGenerationToolQuality.High, - size: ImageGenerationToolSize.W1024xH1024, - outputFileFormat: ImageGenerationToolOutputFileFormat.Png, - moderationLevel: ImageGenerationToolModerationLevel.Auto, - background: ImageGenerationToolBackground.Transparent, - inputFidelity: ImageGenerationToolInputFidelity.High) - } - }; - - OpenAIResponse response = await client.CreateResponseAsync( - "Generate an image of gray tabby cat hugging an otter with an orange scarf", - options); - - Assert.That(response.OutputItems, Has.Count.EqualTo(2)); - Assert.That(response.OutputItems[0], Is.InstanceOf()); - Assert.That(response.OutputItems[1], Is.InstanceOf()); - - MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; - Assert.That(message.Content, Has.Count.GreaterThan(0)); - Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); - - Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); - - ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; - Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); - Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); - } - - [RecordedTest] - public async Task ImageGenToolStreaming() - { - OpenAIResponseClient client = GetTestClient(); - - const string message = "Draw a gorgeous image of a river made of white owl feathers, snaking its way through a serene winter landscape"; - - ResponseCreationOptions responseOptions = new() - { - Tools = - { - ResponseTool.CreateImageGenerationTool( - model: "gpt-image-1", - quality: ImageGenerationToolQuality.High, - size: ImageGenerationToolSize.W1024xH1024, - outputFileFormat: ImageGenerationToolOutputFileFormat.Png, - moderationLevel: ImageGenerationToolModerationLevel.Auto, - background: ImageGenerationToolBackground.Transparent) - } - }; - - string imageGenItemId = null; - int partialCount = 0; - int inProgressCount = 0; - int generateCount = 0; - bool gotCompletedImageGenItem = false; - bool gotCompletedResponseItem = false; - - await foreach (StreamingResponseUpdate update - in client.CreateResponseStreamingAsync(message, responseOptions)) - { - if (update is StreamingResponseImageGenerationCallPartialImageUpdate imageGenCallInPartialUpdate) - { - Assert.That(imageGenCallInPartialUpdate.ItemId, Is.Not.Null.And.Not.Empty); - imageGenItemId ??= imageGenCallInPartialUpdate.ItemId; - Assert.That(imageGenItemId, Is.EqualTo(imageGenCallInPartialUpdate.ItemId)); - Assert.That(imageGenCallInPartialUpdate.OutputIndex, Is.EqualTo(0)); - partialCount++; - } - else if (update is StreamingResponseImageGenerationCallInProgressUpdate imageGenCallInProgressUpdate) - { - Assert.That(imageGenCallInProgressUpdate.ItemId, Is.Not.Null.And.Not.Empty); - imageGenItemId ??= imageGenCallInProgressUpdate.ItemId; - Assert.That(imageGenItemId, Is.EqualTo(imageGenCallInProgressUpdate.ItemId)); - Assert.That(imageGenCallInProgressUpdate.OutputIndex, Is.EqualTo(0)); - inProgressCount++; - } - else if (update is StreamingResponseImageGenerationCallGeneratingUpdate imageGenCallGeneratingUpdate) - { - Assert.That(imageGenCallGeneratingUpdate.ItemId, Is.Not.Null.And.Not.Empty); - imageGenItemId ??= imageGenCallGeneratingUpdate.ItemId; - Assert.That(imageGenItemId, Is.EqualTo(imageGenCallGeneratingUpdate.ItemId)); - Assert.That(imageGenCallGeneratingUpdate.OutputIndex, Is.EqualTo(0)); - generateCount++; - } - else if (update is StreamingResponseImageGenerationCallCompletedUpdate outputItemCompleteUpdate) - { - Assert.That(outputItemCompleteUpdate.ItemId, Is.Not.Null.And.Not.Empty); - imageGenItemId ??= outputItemCompleteUpdate.ItemId; - Assert.That(imageGenItemId, Is.EqualTo(outputItemCompleteUpdate.ItemId)); - Assert.That(outputItemCompleteUpdate.OutputIndex, Is.EqualTo(0)); - gotCompletedImageGenItem = true; - } - else if (update is StreamingResponseOutputItemDoneUpdate outputItemDoneUpdate) - { - if (outputItemDoneUpdate.Item is ImageGenerationCallResponseItem imageGenCallItem) - { - Assert.That(imageGenCallItem.Id, Is.Not.Null.And.Not.Empty); - imageGenItemId ??= imageGenCallItem.Id; - Assert.That(imageGenItemId, Is.EqualTo(outputItemDoneUpdate.Item.Id)); - Assert.That(outputItemDoneUpdate.OutputIndex, Is.EqualTo(0)); - gotCompletedResponseItem = true; - } - } - } - - Assert.That(gotCompletedResponseItem || gotCompletedImageGenItem, Is.True); - Assert.That(partialCount, Is.EqualTo(1)); - Assert.That(inProgressCount, Is.EqualTo(1)); - Assert.That(generateCount, Is.EqualTo(1)); - Assert.That(imageGenItemId, Is.Not.Null.And.Not.Empty); - } - - [RecordedTest] - public async Task ImageGenToolInputMaskWithImageBytes() - { - OpenAIResponseClient client = GetTestClient(); - - string imageFilename = "images_dog_and_cat.png"; - string imagePath = Path.Combine("Assets", imageFilename); - ResponseCreationOptions options = new() - { - Tools = - { - ResponseTool.CreateImageGenerationTool( - model: "gpt-image-1", - outputFileFormat: ImageGenerationToolOutputFileFormat.Png, - inputImageMask: new(BinaryData.FromBytes(File.ReadAllBytes(imagePath)), "image/png")) - } - }; - - OpenAIResponse response = await client.CreateResponseAsync( - "Generate an image of gray tabby cat hugging an otter with an orange scarf", - options); - - Assert.That(response.OutputItems, Has.Count.EqualTo(2)); - Assert.That(response.OutputItems[0], Is.InstanceOf()); - Assert.That(response.OutputItems[1], Is.InstanceOf()); - - MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; - Assert.That(message.Content, Has.Count.GreaterThan(0)); - Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); - - Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); - - ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; - Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); - Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); - } - - [RecordedTest] - public async Task ImageGenToolInputMaskWithImageUri() - { - OpenAIResponseClient client = GetTestClient(); - - ResponseCreationOptions options = new() - { - Tools = - { - ResponseTool.CreateImageGenerationTool( - model: "gpt-image-1", - outputFileFormat: ImageGenerationToolOutputFileFormat.Png, - inputImageMask: new(imageUri: new Uri("https://upload.wikimedia.org/wikipedia/commons/c/c3/Openai.png"))) - } - }; - - OpenAIResponse response = await client.CreateResponseAsync( - "Generate an image of gray tabby cat hugging an otter with an orange scarf", - options); - - Assert.That(response.OutputItems, Has.Count.EqualTo(2)); - Assert.That(response.OutputItems[0], Is.InstanceOf()); - Assert.That(response.OutputItems[1], Is.InstanceOf()); - - MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; - Assert.That(message.Content, Has.Count.GreaterThan(0)); - Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); - - Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); - - ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; - Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); - Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); - } - - [RecordedTest] - public async Task ImageGenToolInputMaskWithFileId() - { - OpenAIResponseClient client = GetTestClient(); - - OpenAIFileClient fileClient = GetProxiedOpenAIClient(TestScenario.Files); - - string imageFilename = "images_dog_and_cat.png"; - string imagePath = Path.Combine("Assets", imageFilename); - using Stream image = File.OpenRead(imagePath); - BinaryData imageData = BinaryData.FromStream(image); - - OpenAIFile file; - using (Recording.DisableRequestBodyRecording()) // Temp pending https://github.com/Azure/azure-sdk-tools/issues/11901 - { - file = await fileClient.UploadFileAsync( - imageData, - imageFilename, - FileUploadPurpose.UserData); - } - Validate(file); - - ResponseCreationOptions options = new() - { - Tools = - { - ResponseTool.CreateImageGenerationTool( - model: "gpt-image-1", - outputFileFormat: ImageGenerationToolOutputFileFormat.Png, - inputImageMask: new(fileId: file.Id)) - } - }; - - OpenAIResponse response = await client.CreateResponseAsync( - "Generate an image of gray tabby cat hugging an otter with an orange scarf", - options); - - Assert.That(response.OutputItems, Has.Count.EqualTo(2)); - Assert.That(response.OutputItems[0], Is.InstanceOf()); - Assert.That(response.OutputItems[1], Is.InstanceOf()); - - MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; - Assert.That(message.Content, Has.Count.GreaterThan(0)); - Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); - - Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); - - ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; - Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); - Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); - } - [RecordedTest] public async Task StreamingResponses() { diff --git a/tests/Responses/ResponsesToolTests.cs b/tests/Responses/ResponsesToolTests.cs index ceef4841d..17cb5de69 100644 --- a/tests/Responses/ResponsesToolTests.cs +++ b/tests/Responses/ResponsesToolTests.cs @@ -365,6 +365,11 @@ public async Task FileSearch() }); Validate(vectorStore); + if (Mode != RecordedTestMode.Playback) + { + await Task.Delay(TimeSpan.FromSeconds(5)); + } + OpenAIResponseClient client = GetTestClient(); OpenAIResponse response = await client.CreateResponseAsync( @@ -680,6 +685,252 @@ in client.CreateResponseStreamingAsync(message, responseOptions)) } } + [RecordedTest] + public async Task ImageGenToolWorks() + { + OpenAIResponseClient client = GetTestClient(); + + ResponseCreationOptions options = new() + { + Tools = + { + ResponseTool.CreateImageGenerationTool( + model: "gpt-image-1", + quality: ImageGenerationToolQuality.High, + size: ImageGenerationToolSize.W1024xH1024, + outputFileFormat: ImageGenerationToolOutputFileFormat.Png, + moderationLevel: ImageGenerationToolModerationLevel.Auto, + background: ImageGenerationToolBackground.Transparent, + inputFidelity: ImageGenerationToolInputFidelity.High) + } + }; + + OpenAIResponse response = await client.CreateResponseAsync( + "Generate an image of gray tabby cat hugging an otter with an orange scarf", + options); + + Assert.That(response.OutputItems, Has.Count.EqualTo(2)); + Assert.That(response.OutputItems[0], Is.InstanceOf()); + Assert.That(response.OutputItems[1], Is.InstanceOf()); + + MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; + Assert.That(message.Content, Has.Count.GreaterThan(0)); + Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); + + Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); + + ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; + Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); + Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); + } + + [RecordedTest] + public async Task ImageGenToolStreaming() + { + OpenAIResponseClient client = GetTestClient(); + + const string message = "Draw a gorgeous image of a river made of white owl feathers, snaking its way through a serene winter landscape"; + + ResponseCreationOptions responseOptions = new() + { + Tools = + { + ResponseTool.CreateImageGenerationTool( + model: "gpt-image-1", + quality: ImageGenerationToolQuality.High, + size: ImageGenerationToolSize.W1024xH1024, + outputFileFormat: ImageGenerationToolOutputFileFormat.Png, + moderationLevel: ImageGenerationToolModerationLevel.Auto, + background: ImageGenerationToolBackground.Transparent) + } + }; + + string imageGenItemId = null; + int partialCount = 0; + int inProgressCount = 0; + int generateCount = 0; + bool gotCompletedImageGenItem = false; + bool gotCompletedResponseItem = false; + + await foreach (StreamingResponseUpdate update + in client.CreateResponseStreamingAsync(message, responseOptions)) + { + if (update is StreamingResponseImageGenerationCallPartialImageUpdate imageGenCallInPartialUpdate) + { + Assert.That(imageGenCallInPartialUpdate.ItemId, Is.Not.Null.And.Not.Empty); + imageGenItemId ??= imageGenCallInPartialUpdate.ItemId; + Assert.That(imageGenItemId, Is.EqualTo(imageGenCallInPartialUpdate.ItemId)); + Assert.That(imageGenCallInPartialUpdate.OutputIndex, Is.EqualTo(0)); + partialCount++; + } + else if (update is StreamingResponseImageGenerationCallInProgressUpdate imageGenCallInProgressUpdate) + { + Assert.That(imageGenCallInProgressUpdate.ItemId, Is.Not.Null.And.Not.Empty); + imageGenItemId ??= imageGenCallInProgressUpdate.ItemId; + Assert.That(imageGenItemId, Is.EqualTo(imageGenCallInProgressUpdate.ItemId)); + Assert.That(imageGenCallInProgressUpdate.OutputIndex, Is.EqualTo(0)); + inProgressCount++; + } + else if (update is StreamingResponseImageGenerationCallGeneratingUpdate imageGenCallGeneratingUpdate) + { + Assert.That(imageGenCallGeneratingUpdate.ItemId, Is.Not.Null.And.Not.Empty); + imageGenItemId ??= imageGenCallGeneratingUpdate.ItemId; + Assert.That(imageGenItemId, Is.EqualTo(imageGenCallGeneratingUpdate.ItemId)); + Assert.That(imageGenCallGeneratingUpdate.OutputIndex, Is.EqualTo(0)); + generateCount++; + } + else if (update is StreamingResponseImageGenerationCallCompletedUpdate outputItemCompleteUpdate) + { + Assert.That(outputItemCompleteUpdate.ItemId, Is.Not.Null.And.Not.Empty); + imageGenItemId ??= outputItemCompleteUpdate.ItemId; + Assert.That(imageGenItemId, Is.EqualTo(outputItemCompleteUpdate.ItemId)); + Assert.That(outputItemCompleteUpdate.OutputIndex, Is.EqualTo(0)); + gotCompletedImageGenItem = true; + } + else if (update is StreamingResponseOutputItemDoneUpdate outputItemDoneUpdate) + { + if (outputItemDoneUpdate.Item is ImageGenerationCallResponseItem imageGenCallItem) + { + Assert.That(imageGenCallItem.Id, Is.Not.Null.And.Not.Empty); + imageGenItemId ??= imageGenCallItem.Id; + Assert.That(imageGenItemId, Is.EqualTo(outputItemDoneUpdate.Item.Id)); + Assert.That(outputItemDoneUpdate.OutputIndex, Is.EqualTo(0)); + gotCompletedResponseItem = true; + } + } + } + + Assert.That(gotCompletedResponseItem || gotCompletedImageGenItem, Is.True); + Assert.That(partialCount, Is.EqualTo(1)); + Assert.That(inProgressCount, Is.EqualTo(1)); + Assert.That(generateCount, Is.EqualTo(1)); + Assert.That(imageGenItemId, Is.Not.Null.And.Not.Empty); + } + + [RecordedTest] + public async Task ImageGenToolInputMaskWithImageBytes() + { + OpenAIResponseClient client = GetTestClient(); + + string imageFilename = "images_dog_and_cat.png"; + string imagePath = Path.Combine("Assets", imageFilename); + ResponseCreationOptions options = new() + { + Tools = + { + ResponseTool.CreateImageGenerationTool( + model: "gpt-image-1", + outputFileFormat: ImageGenerationToolOutputFileFormat.Png, + inputImageMask: new(BinaryData.FromBytes(File.ReadAllBytes(imagePath)), "image/png")) + } + }; + + OpenAIResponse response = await client.CreateResponseAsync( + "Generate an image of gray tabby cat hugging an otter with an orange scarf", + options); + + Assert.That(response.OutputItems, Has.Count.EqualTo(2)); + Assert.That(response.OutputItems[0], Is.InstanceOf()); + Assert.That(response.OutputItems[1], Is.InstanceOf()); + + MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; + Assert.That(message.Content, Has.Count.GreaterThan(0)); + Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); + + Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); + + ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; + Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); + Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); + } + + [RecordedTest] + public async Task ImageGenToolInputMaskWithImageUri() + { + OpenAIResponseClient client = GetTestClient(); + + ResponseCreationOptions options = new() + { + Tools = + { + ResponseTool.CreateImageGenerationTool( + model: "gpt-image-1", + outputFileFormat: ImageGenerationToolOutputFileFormat.Png, + inputImageMask: new(imageUri: new Uri("https://upload.wikimedia.org/wikipedia/commons/c/c3/Openai.png"))) + } + }; + + OpenAIResponse response = await client.CreateResponseAsync( + "Generate an image of gray tabby cat hugging an otter with an orange scarf", + options); + + Assert.That(response.OutputItems, Has.Count.EqualTo(2)); + Assert.That(response.OutputItems[0], Is.InstanceOf()); + Assert.That(response.OutputItems[1], Is.InstanceOf()); + + MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; + Assert.That(message.Content, Has.Count.GreaterThan(0)); + Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); + + Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); + + ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; + Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); + Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); + } + + [RecordedTest] + public async Task ImageGenToolInputMaskWithFileId() + { + OpenAIResponseClient client = GetTestClient(); + + OpenAIFileClient fileClient = GetProxiedOpenAIClient(TestScenario.Files); + + string imageFilename = "images_dog_and_cat.png"; + string imagePath = Path.Combine("Assets", imageFilename); + using Stream image = File.OpenRead(imagePath); + BinaryData imageData = BinaryData.FromStream(image); + + OpenAIFile file; + using (Recording.DisableRequestBodyRecording()) // Temp pending https://github.com/Azure/azure-sdk-tools/issues/11901 + { + file = await fileClient.UploadFileAsync( + imageData, + imageFilename, + FileUploadPurpose.UserData); + } + Validate(file); + + ResponseCreationOptions options = new() + { + Tools = + { + ResponseTool.CreateImageGenerationTool( + model: "gpt-image-1", + outputFileFormat: ImageGenerationToolOutputFileFormat.Png, + inputImageMask: new(fileId: file.Id)) + } + }; + + OpenAIResponse response = await client.CreateResponseAsync( + "Generate an image of gray tabby cat hugging an otter with an orange scarf", + options); + + Assert.That(response.OutputItems, Has.Count.EqualTo(2)); + Assert.That(response.OutputItems[0], Is.InstanceOf()); + Assert.That(response.OutputItems[1], Is.InstanceOf()); + + MessageResponseItem message = (MessageResponseItem)response.OutputItems[1]; + Assert.That(message.Content, Has.Count.GreaterThan(0)); + Assert.That(message.Content[0].Kind, Is.EqualTo(ResponseContentPartKind.OutputText)); + + Assert.That(response.Tools.FirstOrDefault(), Is.TypeOf()); + + ImageGenerationCallResponseItem imageGenResponse = (ImageGenerationCallResponseItem)response.OutputItems[0]; + Assert.That(imageGenResponse.Status, Is.EqualTo(ImageGenerationCallStatus.Completed)); + Assert.That(imageGenResponse.ImageResultBytes.ToArray(), Is.Not.Null.And.Not.Empty); + } + private List FileIdsToDelete = []; private List VectorStoreIdsToDelete = []; diff --git a/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputs.json b/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputs.json index b3a725e08..150536ac6 100644 --- a/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputs.json +++ b/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputs.json @@ -8,26 +8,26 @@ "Authorization": "Sanitized", "Content-Length": "115", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": { "input": [ "I forgot to water my houseplants!", "I am killing all my houseplants!" ], - "model": "text-moderation-stable" + "model": "omni-moderation-latest" }, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980437784c52751c-SEA", + "CF-RAY": "996e7800696b838f-SEA", "Connection": "keep-alive", - "Content-Length": "2052", + "Content-Length": "3847", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:41:48 GMT", + "Date": "Thu, 30 Oct 2025 22:49:56 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "122", + "openai-processing-ms": "121", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", @@ -37,70 +37,160 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "124", + "x-envoy-upstream-service-time": "130", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "modr-CGZau07Hl1BF7Ic0WtHZ4VSK5hISb", - "model": "text-moderation-007", + "id": "modr-3439", + "model": "omni-moderation-latest", "results": [ { "flagged": false, "categories": { + "harassment": false, + "harassment/threatening": false, "sexual": false, "hate": false, - "harassment": false, - "self-harm": false, - "sexual/minors": false, "hate/threatening": false, - "violence/graphic": false, + "illicit": false, + "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, - "harassment/threatening": false, - "violence": false + "self-harm": false, + "sexual/minors": false, + "violence": false, + "violence/graphic": false }, "category_scores": { - "sexual": 6.782116543035954e-6, - "hate": 0.000020696123101515695, - "harassment": 0.00017825856048148125, - "self-harm": 1.8792947287238349e-7, - "sexual/minors": 1.5355452376297762e-7, - "hate/threatening": 9.97393900803445e-9, - "violence/graphic": 1.3225925385995652e-6, - "self-harm/intent": 7.250643818679237e-8, - "self-harm/instructions": 4.810816189859679e-9, - "harassment/threatening": 7.709868441452272e-6, - "violence": 0.00025847446522675455 + "harassment": 0.00003569706350376584, + "harassment/threatening": 2.212566909570261e-6, + "sexual": 3.120191139396651e-6, + "hate": 1.8925148246037342e-6, + "hate/threatening": 1.994729721527057e-7, + "illicit": 7.602479448313689e-6, + "illicit/violent": 3.822911232549001e-6, + "self-harm/intent": 0.00021273082914771238, + "self-harm/instructions": 1.9333584585546466e-7, + "self-harm": 0.000010975090534032795, + "sexual/minors": 1.994729721527057e-7, + "violence": 0.0000115919343186331, + "violence/graphic": 1.1125607488784412e-6 + }, + "category_applied_input_types": { + "harassment": [ + "text" + ], + "harassment/threatening": [ + "text" + ], + "sexual": [ + "text" + ], + "hate": [ + "text" + ], + "hate/threatening": [ + "text" + ], + "illicit": [ + "text" + ], + "illicit/violent": [ + "text" + ], + "self-harm/intent": [ + "text" + ], + "self-harm/instructions": [ + "text" + ], + "self-harm": [ + "text" + ], + "sexual/minors": [ + "text" + ], + "violence": [ + "text" + ], + "violence/graphic": [ + "text" + ] } }, { "flagged": true, "categories": { + "harassment": false, + "harassment/threatening": false, "sexual": false, "hate": false, - "harassment": false, - "self-harm": false, - "sexual/minors": false, "hate/threatening": false, - "violence/graphic": false, + "illicit": false, + "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, - "harassment/threatening": false, - "violence": true + "self-harm": false, + "sexual/minors": false, + "violence": true, + "violence/graphic": false }, "category_scores": { - "sexual": 3.0419589620578336e-6, - "hate": 0.00007097959314705804, - "harassment": 0.0025042076595127583, - "self-harm": 0.0003152405843138695, - "sexual/minors": 2.207520388708417e-8, - "hate/threatening": 0.0018584870267659426, - "violence/graphic": 0.000029501699827960692, - "self-harm/intent": 0.00010905642557190731, - "self-harm/instructions": 4.815285024051263e-7, - "harassment/threatening": 0.02529926225543022, - "violence": 0.7679827213287354 + "harassment": 0.0050681319405286316, + "harassment/threatening": 0.006228548393007852, + "sexual": 4.1335397768930325e-6, + "hate": 0.00002305067219931397, + "hate/threatening": 0.000023413582477639402, + "illicit": 0.007630710887332989, + "illicit/violent": 0.001556509750687821, + "self-harm/intent": 0.00846215032366349, + "self-harm/instructions": 0.0002292575353938512, + "self-harm": 0.018531819836873024, + "sexual/minors": 5.422218970016178e-7, + "violence": 0.20017406978166777, + "violence/graphic": 0.0015759078905635787 + }, + "category_applied_input_types": { + "harassment": [ + "text" + ], + "harassment/threatening": [ + "text" + ], + "sexual": [ + "text" + ], + "hate": [ + "text" + ], + "hate/threatening": [ + "text" + ], + "illicit": [ + "text" + ], + "illicit/violent": [ + "text" + ], + "self-harm/intent": [ + "text" + ], + "self-harm/instructions": [ + "text" + ], + "self-harm": [ + "text" + ], + "sexual/minors": [ + "text" + ], + "violence": [ + "text" + ], + "violence/graphic": [ + "text" + ] } } ] diff --git a/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputsAsync.json b/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputsAsync.json index 9d1cbe88d..3e001017e 100644 --- a/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputsAsync.json +++ b/tests/SessionRecords/ModerationsTests/ClassifyMultipleInputsAsync.json @@ -8,95 +8,185 @@ "Authorization": "Sanitized", "Content-Length": "115", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": { "input": [ "I forgot to water my houseplants!", "I am killing all my houseplants!" ], - "model": "text-moderation-stable" + "model": "omni-moderation-latest" }, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "9804377ef9ef751c-SEA", + "CF-RAY": "996e7806fa9c838f-SEA", "Connection": "keep-alive", - "Content-Length": "2049", + "Content-Length": "3847", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:41:49 GMT", + "Date": "Thu, 30 Oct 2025 22:49:58 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "199", + "openai-processing-ms": "312", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "203", + "x-envoy-upstream-service-time": "318", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "modr-CGZavIvF6WOmyLfzxWkioYCYvTHYs", - "model": "text-moderation-007", + "id": "modr-3311", + "model": "omni-moderation-latest", "results": [ { "flagged": false, "categories": { + "harassment": false, + "harassment/threatening": false, "sexual": false, "hate": false, - "harassment": false, - "self-harm": false, - "sexual/minors": false, "hate/threatening": false, - "violence/graphic": false, + "illicit": false, + "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, - "harassment/threatening": false, - "violence": false + "self-harm": false, + "sexual/minors": false, + "violence": false, + "violence/graphic": false }, "category_scores": { - "sexual": 6.782116543035954e-6, - "hate": 0.000020696123101515695, - "harassment": 0.00017825856048148125, - "self-harm": 1.879293023421269e-7, - "sexual/minors": 1.5355423954588332e-7, - "hate/threatening": 9.97393900803445e-9, - "violence/graphic": 1.32259378915478e-6, - "self-harm/intent": 7.250657318991216e-8, - "self-harm/instructions": 4.810816189859679e-9, - "harassment/threatening": 7.709861165494658e-6, - "violence": 0.00025847446522675455 + "harassment": 0.00003569706350376584, + "harassment/threatening": 2.212566909570261e-6, + "sexual": 3.120191139396651e-6, + "hate": 1.8925148246037342e-6, + "hate/threatening": 1.994729721527057e-7, + "illicit": 7.602479448313689e-6, + "illicit/violent": 3.822911232549001e-6, + "self-harm/intent": 0.00021273082914771238, + "self-harm/instructions": 1.9333584585546466e-7, + "self-harm": 0.000010975090534032795, + "sexual/minors": 1.994729721527057e-7, + "violence": 0.0000115919343186331, + "violence/graphic": 1.1125607488784412e-6 + }, + "category_applied_input_types": { + "harassment": [ + "text" + ], + "harassment/threatening": [ + "text" + ], + "sexual": [ + "text" + ], + "hate": [ + "text" + ], + "hate/threatening": [ + "text" + ], + "illicit": [ + "text" + ], + "illicit/violent": [ + "text" + ], + "self-harm/intent": [ + "text" + ], + "self-harm/instructions": [ + "text" + ], + "self-harm": [ + "text" + ], + "sexual/minors": [ + "text" + ], + "violence": [ + "text" + ], + "violence/graphic": [ + "text" + ] } }, { "flagged": true, "categories": { + "harassment": false, + "harassment/threatening": false, "sexual": false, "hate": false, - "harassment": false, - "self-harm": false, - "sexual/minors": false, "hate/threatening": false, - "violence/graphic": false, + "illicit": false, + "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, - "harassment/threatening": false, - "violence": true + "self-harm": false, + "sexual/minors": false, + "violence": true, + "violence/graphic": false }, "category_scores": { - "sexual": 3.0419532777159475e-6, - "hate": 0.00007097959314705804, - "harassment": 0.0025042062625288963, - "self-harm": 0.0003152405843138695, - "sexual/minors": 2.2075287375855623e-8, - "hate/threatening": 0.0018584870267659426, - "violence/graphic": 0.000029501699827960692, - "self-harm/intent": 0.0001090563164325431, - "self-harm/instructions": 4.815285024051263e-7, - "harassment/threatening": 0.02529926225543022, - "violence": 0.7679827213287354 + "harassment": 0.0050681319405286316, + "harassment/threatening": 0.006228548393007852, + "sexual": 4.1335397768930325e-6, + "hate": 0.00002305067219931397, + "hate/threatening": 0.000023413582477639402, + "illicit": 0.007630710887332989, + "illicit/violent": 0.001556509750687821, + "self-harm/intent": 0.00846215032366349, + "self-harm/instructions": 0.0002292575353938512, + "self-harm": 0.018531819836873024, + "sexual/minors": 5.422218970016178e-7, + "violence": 0.20017406978166777, + "violence/graphic": 0.0015759078905635787 + }, + "category_applied_input_types": { + "harassment": [ + "text" + ], + "harassment/threatening": [ + "text" + ], + "sexual": [ + "text" + ], + "hate": [ + "text" + ], + "hate/threatening": [ + "text" + ], + "illicit": [ + "text" + ], + "illicit/violent": [ + "text" + ], + "self-harm/intent": [ + "text" + ], + "self-harm/instructions": [ + "text" + ], + "self-harm": [ + "text" + ], + "sexual/minors": [ + "text" + ], + "violence": [ + "text" + ], + "violence/graphic": [ + "text" + ] } } ] diff --git a/tests/SessionRecords/ModerationsTests/ClassifySingleInput.json b/tests/SessionRecords/ModerationsTests/ClassifySingleInput.json index 8a4a9f9b7..5fae955d3 100644 --- a/tests/SessionRecords/ModerationsTests/ClassifySingleInput.json +++ b/tests/SessionRecords/ModerationsTests/ClassifySingleInput.json @@ -8,63 +8,108 @@ "Authorization": "Sanitized", "Content-Length": "77", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": { "input": "I am killing all my houseplants!", - "model": "text-moderation-stable" + "model": "omni-moderation-latest" }, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "9804377c6fbe751c-SEA", + "CF-RAY": "996e7803fe5a838f-SEA", "Connection": "keep-alive", - "Content-Length": "1075", + "Content-Length": "1960", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:41:49 GMT", + "Date": "Thu, 30 Oct 2025 22:49:57 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "134", + "openai-processing-ms": "151", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "137", + "x-envoy-upstream-service-time": "155", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "modr-CGZauVIT6AOyZBTRBnyMjamu0Ucch", - "model": "text-moderation-007", + "id": "modr-2838", + "model": "omni-moderation-latest", "results": [ { "flagged": true, "categories": { + "harassment": false, + "harassment/threatening": false, "sexual": false, "hate": false, - "harassment": false, - "self-harm": false, - "sexual/minors": false, "hate/threatening": false, - "violence/graphic": false, + "illicit": false, + "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, - "harassment/threatening": false, - "violence": true + "self-harm": false, + "sexual/minors": false, + "violence": true, + "violence/graphic": false }, "category_scores": { - "sexual": 3.060859853576403e-6, - "hate": 0.00006969561945879832, - "harassment": 0.0025273424107581377, - "self-harm": 0.0003134873113594949, - "sexual/minors": 2.2792109533043003e-8, - "hate/threatening": 0.0018419086700305343, - "violence/graphic": 0.000029701224775635637, - "self-harm/intent": 0.00010469481640029699, - "self-harm/instructions": 4.689862294071645e-7, - "harassment/threatening": 0.02515215426683426, - "violence": 0.7670366168022156 + "harassment": 0.0050681319405286316, + "harassment/threatening": 0.006228548393007852, + "sexual": 4.1335397768930325e-6, + "hate": 0.00002305067219931397, + "hate/threatening": 0.000023413582477639402, + "illicit": 0.007630710887332989, + "illicit/violent": 0.001556509750687821, + "self-harm/intent": 0.00846215032366349, + "self-harm/instructions": 0.0002292575353938512, + "self-harm": 0.018531819836873024, + "sexual/minors": 5.422218970016178e-7, + "violence": 0.20017406978166777, + "violence/graphic": 0.0015759078905635787 + }, + "category_applied_input_types": { + "harassment": [ + "text" + ], + "harassment/threatening": [ + "text" + ], + "sexual": [ + "text" + ], + "hate": [ + "text" + ], + "hate/threatening": [ + "text" + ], + "illicit": [ + "text" + ], + "illicit/violent": [ + "text" + ], + "self-harm/intent": [ + "text" + ], + "self-harm/instructions": [ + "text" + ], + "self-harm": [ + "text" + ], + "sexual/minors": [ + "text" + ], + "violence": [ + "text" + ], + "violence/graphic": [ + "text" + ] } } ] diff --git a/tests/SessionRecords/ModerationsTests/ClassifySingleInputAsync.json b/tests/SessionRecords/ModerationsTests/ClassifySingleInputAsync.json index bcb7e4122..e131a6a5d 100644 --- a/tests/SessionRecords/ModerationsTests/ClassifySingleInputAsync.json +++ b/tests/SessionRecords/ModerationsTests/ClassifySingleInputAsync.json @@ -8,63 +8,108 @@ "Authorization": "Sanitized", "Content-Length": "77", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": { "input": "I am killing all my houseplants!", - "model": "text-moderation-stable" + "model": "omni-moderation-latest" }, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98043782aca4751c-SEA", + "CF-RAY": "996e780c291d838f-SEA", "Connection": "keep-alive", - "Content-Length": "1075", + "Content-Length": "1960", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:41:51 GMT", + "Date": "Thu, 30 Oct 2025 22:49:58 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "1331", + "openai-processing-ms": "193", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1333", + "x-envoy-upstream-service-time": "200", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "modr-CGZavI2i61ftmvUFLyLxvSnbGIHom", - "model": "text-moderation-007", + "id": "modr-7173", + "model": "omni-moderation-latest", "results": [ { "flagged": true, "categories": { + "harassment": false, + "harassment/threatening": false, "sexual": false, "hate": false, - "harassment": false, - "self-harm": false, - "sexual/minors": false, "hate/threatening": false, - "violence/graphic": false, + "illicit": false, + "illicit/violent": false, "self-harm/intent": false, "self-harm/instructions": false, - "harassment/threatening": false, - "violence": true + "self-harm": false, + "sexual/minors": false, + "violence": true, + "violence/graphic": false }, "category_scores": { - "sexual": 3.060859853576403e-6, - "hate": 0.00006969561945879832, - "harassment": 0.0025273424107581377, - "self-harm": 0.0003134873113594949, - "sexual/minors": 2.2792109533043003e-8, - "hate/threatening": 0.0018419086700305343, - "violence/graphic": 0.000029701224775635637, - "self-harm/intent": 0.00010469481640029699, - "self-harm/instructions": 4.689862294071645e-7, - "harassment/threatening": 0.02515215426683426, - "violence": 0.7670366168022156 + "harassment": 0.0050681319405286316, + "harassment/threatening": 0.006228548393007852, + "sexual": 4.1335397768930325e-6, + "hate": 0.00002305067219931397, + "hate/threatening": 0.000023413582477639402, + "illicit": 0.007630710887332989, + "illicit/violent": 0.001556509750687821, + "self-harm/intent": 0.00846215032366349, + "self-harm/instructions": 0.0002292575353938512, + "self-harm": 0.018531819836873024, + "sexual/minors": 5.422218970016178e-7, + "violence": 0.20017406978166777, + "violence/graphic": 0.0015759078905635787 + }, + "category_applied_input_types": { + "harassment": [ + "text" + ], + "harassment/threatening": [ + "text" + ], + "sexual": [ + "text" + ], + "hate": [ + "text" + ], + "hate/threatening": [ + "text" + ], + "illicit": [ + "text" + ], + "illicit/violent": [ + "text" + ], + "self-harm/intent": [ + "text" + ], + "self-harm/instructions": [ + "text" + ], + "self-harm": [ + "text" + ], + "sexual/minors": [ + "text" + ], + "violence": [ + "text" + ], + "violence/graphic": [ + "text" + ] } } ] diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithFileId.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithFileId.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithFileId.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithFileId.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithFileIdAsync.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithFileIdAsync.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithFileIdAsync.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithFileIdAsync.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageBytes.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageBytes.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageBytes.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageBytes.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageBytesAsync.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageBytesAsync.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageBytesAsync.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageBytesAsync.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageUri.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageUri.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageUri.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageUri.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageUriAsync.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageUriAsync.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolInputMaskWithImageUriAsync.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolInputMaskWithImageUriAsync.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolStreaming.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolStreaming.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolStreaming.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolStreaming.json diff --git a/tests/SessionRecords/ResponsesTests/ImageGenToolStreamingAsync.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolStreamingAsync.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ImageGenToolStreamingAsync.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolStreamingAsync.json diff --git a/tests/SessionRecords/ResponsesTests/ResponseWithImageGenTool.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolWorks.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ResponseWithImageGenTool.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolWorks.json diff --git a/tests/SessionRecords/ResponsesTests/ResponseWithImageGenToolAsync.json b/tests/SessionRecords/ResponsesToolTests/ImageGenToolWorksAsync.json similarity index 100% rename from tests/SessionRecords/ResponsesTests/ResponseWithImageGenToolAsync.json rename to tests/SessionRecords/ResponsesToolTests/ImageGenToolWorksAsync.json diff --git a/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptions.json b/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptions.json index c1210f449..10c07238f 100644 --- a/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptions.json +++ b/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptions.json @@ -8,20 +8,20 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": {}, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cebc83fc3c0-SEA", + "CF-RAY": "996eb52dbc6bd5ec-SEA", "Connection": "keep-alive", "Content-Length": "404", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:45 GMT", + "Date": "Thu, 30 Oct 2025 23:31:43 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "153", + "openai-processing-ms": "435", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", @@ -31,14 +31,14 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "156", + "x-envoy-upstream-service-time": "439", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "vs_68c9eeed7714819191b9955c08d8a667", + "id": "vs_6903f55e896c81918971b5b6f80dedc5", "object": "vector_store", - "created_at": 1758064365, + "created_at": 1761867102, "name": null, "description": null, "usage_bytes": 0, @@ -52,7 +52,7 @@ "status": "completed", "expires_after": null, "expires_at": null, - "last_active_at": 1758064365, + "last_active_at": 1761867102, "metadata": {} } }, @@ -63,8 +63,8 @@ "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"gHXWZdiczTKqWX4m4rattVrUcmBIu_AQ1amtJzAxo0qUX=2sx1ImLbClWDTRL8GYj7QxPw\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Type": "multipart/form-data; boundary=\"HlLu=ScURuNVoSLr=7_6Tp9xhlS83WCP0NwWKj=8Mofy9q6y7s04Tgv9Kzg9s7T0Os5dfw\"", + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, @@ -72,29 +72,29 @@ "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cedd997c3c0-SEA", + "CF-RAY": "996eb53218fbd5ec-SEA", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:46 GMT", + "Date": "Thu, 30 Oct 2025 23:31:43 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "747", + "openai-processing-ms": "441", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "757", + "x-envoy-upstream-service-time": "449", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-GhT3t1B9UFBo5QLmVwV3La", + "id": "file-QngKxRqEuDEEKS3Z327kDW", "purpose": "assistants", "filename": "test_file_000.txt", "bytes": 21, - "created_at": 1758064365, + "created_at": 1761867103, "expires_at": null, "status": "processed", "status_details": null @@ -107,8 +107,8 @@ "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"KgJwYVNi9XBqHTPSiFfXqngeDkZfp4bB_v=fogCykHUBAVOr_H8cp7JAjLKl0tQK23VYQV\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Type": "multipart/form-data; boundary=\"jZON5inL9ucEPEhtZMBQCiKYo9POwFRniacy95Y2chS8_mxHErw5Fakjt5m1dYm4ByE4zs\"", + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, @@ -116,29 +116,29 @@ "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cf32dedc3c0-SEA", + "CF-RAY": "996eb535ac7dd5ec-SEA", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:47 GMT", + "Date": "Thu, 30 Oct 2025 23:31:44 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "296", + "openai-processing-ms": "444", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "311", + "x-envoy-upstream-service-time": "455", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-XhqvGWwYnGkXYqNa6AgRy2", + "id": "file-VjdQFLRWriSx8LRDHDVATu", "purpose": "assistants", "filename": "test_file_001.txt", "bytes": 21, - "created_at": 1758064366, + "created_at": 1761867103, "expires_at": null, "status": "processed", "status_details": null @@ -151,8 +151,8 @@ "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"I9pdCPF5=SowRodY_D=jAkRJXxOVYjmcSbYWoGlrAgK3Ldeu1yATuTf1Cf0hddAo8E9PO9\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Type": "multipart/form-data; boundary=\"hXBflUZw=s=cxKJksEqlCUgT4mAjkd2RpMPE4ljvgDj7GhG0P7MBucrj1ZGN4O69BGw9yw\"", + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, @@ -160,337 +160,112 @@ "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cf5d80bc3c0-SEA", + "CF-RAY": "996eb5393867d5ec-SEA", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:47 GMT", + "Date": "Thu, 30 Oct 2025 23:31:44 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "266", + "openai-processing-ms": "334", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "274", + "x-envoy-upstream-service-time": "456", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-VhybfvuEdtVkBMNrvwL4GW", + "id": "file-RpV3UJW5puh9LcnjtaWSJ2", "purpose": "assistants", "filename": "test_file_002.txt", "bytes": 21, - "created_at": 1758064367, + "created_at": 1761867104, "expires_at": null, "status": "processed", "status_details": null } }, { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"6bTSUvWSpTki7KxdjNGPa=xKoEX85hZgaIBuKM2=uSGyp76Iet=YiK8qhCo4LcNNmXa1ZK\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cf819bfc3c0-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:47 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "289", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "299", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-6pBCAsXRMAUJJeXoduhuFm", - "purpose": "assistants", - "filename": "test_file_003.txt", - "bytes": 21, - "created_at": 1758064367, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"pBvVxTQjmRM_ECvMkNzL9VXkGPLFN0zogO2HSckq39vG34p8QBBhTtPK_38QszNsv63Amb\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cfa7b5bc3c0-SEA", - "Connection": "keep-alive", - "Content-Length": "240", + "Content-Length": "104", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:48 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "324", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "409", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-VCqC6T3TPeaPgzmx3up4cn", - "purpose": "assistants", - "filename": "test_file_004.txt", - "bytes": 21, - "created_at": 1758064367, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"EReRZesa2qmRmFJhrDqMTHYdgXSmASxLyApKvbKk_l1tM4X3lCRruzqA9TP7MvgIWa62P3\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cfd9da9c3c0-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:48 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "261", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "276", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "purpose": "assistants", - "filename": "test_file_005.txt", - "bytes": 21, - "created_at": 1758064368, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"xVsij=TbDzWoSxTWkEL8nHzQTn2d1P55hJK6xFYcbQd_jP5zSIRQvWSLQx397kM6TuhL=A\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040cffefd1c3c0-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:49 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "323", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "329", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "purpose": "assistants", - "filename": "test_file_006.txt", - "bytes": 21, - "created_at": 1758064368, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"E38i9NjwdwxJ3wD69bq2KKmwhEGjFUzMNVWgh6jb6GwER=ChacTcFepltcQzk9ylqdtOsP\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d02899ac3c0-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:49 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "515", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "528", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-X6AeJ29VCTFzU4GspmFVJE", - "purpose": "assistants", - "filename": "test_file_007.txt", - "bytes": 21, - "created_at": 1758064369, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "254", - "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": { "file_ids": [ - "file-GhT3t1B9UFBo5QLmVwV3La", - "file-XhqvGWwYnGkXYqNa6AgRy2", - "file-VhybfvuEdtVkBMNrvwL4GW", - "file-6pBCAsXRMAUJJeXoduhuFm", - "file-VCqC6T3TPeaPgzmx3up4cn", - "file-YXQnGc4ZhPV3QFZYf9CRSq", - "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "file-X6AeJ29VCTFzU4GspmFVJE" + "file-QngKxRqEuDEEKS3Z327kDW", + "file-VjdQFLRWriSx8LRDHDVATu", + "file-RpV3UJW5puh9LcnjtaWSJ2" ] }, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d066c29c3c0-SEA", + "CF-RAY": "996eb53cbbedd5ec-SEA", "Connection": "keep-alive", - "Content-Length": "323", + "Content-Length": "327", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:50 GMT", + "Date": "Thu, 30 Oct 2025 23:31:45 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "677", + "openai-processing-ms": "839", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1101", + "x-envoy-upstream-service-time": "843", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "vsfb_e23b436c046d4a25a634f7c556219203", + "id": "vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02", "object": "vector_store.file_batch", - "created_at": 1758064370, + "created_at": 1761867105, "status": "in_progress", - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", "file_counts": { - "in_progress": 8, + "in_progress": 3, "completed": 0, "failed": 0, "cancelled": 0, - "total": 8 + "total": 3 } } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?limit=5&order=asc", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?limit=2&order=asc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d143c93c3c0-SEA", + "CF-RAY": "996eb5816f93d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "1362", + "Content-Length": "1075", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:52 GMT", + "Date": "Thu, 30 Oct 2025 23:31:56 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "159", + "openai-processing-ms": "470", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "566", + "x-envoy-upstream-service-time": "473", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -498,77 +273,71 @@ "object": "list", "data": [ { - "id": "file-GhT3t1B9UFBo5QLmVwV3La", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-XhqvGWwYnGkXYqNa6AgRy2", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-VhybfvuEdtVkBMNrvwL4GW", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-6pBCAsXRMAUJJeXoduhuFm", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-QngKxRqEuDEEKS3Z327kDW", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-VCqC6T3TPeaPgzmx3up4cn", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-RpV3UJW5puh9LcnjtaWSJ2", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-GhT3t1B9UFBo5QLmVwV3La", - "last_id": "file-VCqC6T3TPeaPgzmx3up4cn", + "first_id": "file-QngKxRqEuDEEKS3Z327kDW", + "last_id": "file-RpV3UJW5puh9LcnjtaWSJ2", "has_more": true } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?limit=5&order=asc&after=file-VCqC6T3TPeaPgzmx3up4cn", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?limit=2&order=asc&after=file-RpV3UJW5puh9LcnjtaWSJ2", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d185ef8c3c0-SEA", + "CF-RAY": "996eb5851be0d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "877", + "Content-Length": "612", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:52 GMT", + "Date": "Thu, 30 Oct 2025 23:31:57 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "96", + "openai-processing-ms": "609", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "100", + "x-envoy-upstream-service-time": "613", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -576,61 +345,54 @@ "object": "list", "data": [ { - "id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-X6AeJ29VCTFzU4GspmFVJE", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-VjdQFLRWriSx8LRDHDVATu", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "last_id": "file-X6AeJ29VCTFzU4GspmFVJE", + "first_id": "file-VjdQFLRWriSx8LRDHDVATu", + "last_id": "file-VjdQFLRWriSx8LRDHDVATu", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?limit=5&order=desc", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?limit=2&order=desc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d198fb5c3c0-SEA", + "CF-RAY": "996eb589a8f5d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "1362", + "Content-Length": "1075", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:52 GMT", + "Date": "Thu, 30 Oct 2025 23:31:57 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "83", + "openai-processing-ms": "340", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "86", + "x-envoy-upstream-service-time": "343", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -638,77 +400,71 @@ "object": "list", "data": [ { - "id": "file-X6AeJ29VCTFzU4GspmFVJE", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-QngKxRqEuDEEKS3Z327kDW", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-VCqC6T3TPeaPgzmx3up4cn", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-6pBCAsXRMAUJJeXoduhuFm", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-RpV3UJW5puh9LcnjtaWSJ2", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-X6AeJ29VCTFzU4GspmFVJE", - "last_id": "file-6pBCAsXRMAUJJeXoduhuFm", + "first_id": "file-QngKxRqEuDEEKS3Z327kDW", + "last_id": "file-RpV3UJW5puh9LcnjtaWSJ2", "has_more": true } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?limit=5&order=desc&after=file-6pBCAsXRMAUJJeXoduhuFm", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?limit=2&order=desc&after=file-RpV3UJW5puh9LcnjtaWSJ2", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d1a984cc3c0-SEA", + "CF-RAY": "996eb58cbc59d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "877", + "Content-Length": "612", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:53 GMT", + "Date": "Thu, 30 Oct 2025 23:31:58 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "89", + "openai-processing-ms": "490", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "91", + "x-envoy-upstream-service-time": "494", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -716,61 +472,54 @@ "object": "list", "data": [ { - "id": "file-VhybfvuEdtVkBMNrvwL4GW", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-XhqvGWwYnGkXYqNa6AgRy2", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-GhT3t1B9UFBo5QLmVwV3La", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-VjdQFLRWriSx8LRDHDVATu", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-VhybfvuEdtVkBMNrvwL4GW", - "last_id": "file-GhT3t1B9UFBo5QLmVwV3La", + "first_id": "file-VjdQFLRWriSx8LRDHDVATu", + "last_id": "file-VjdQFLRWriSx8LRDHDVATu", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?filter=completed", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?filter=completed", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d1bb8eec3c0-SEA", + "CF-RAY": "996eb5909880d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "2092", + "Content-Length": "1540", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:53 GMT", + "Date": "Thu, 30 Oct 2025 23:31:58 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "77", + "openai-processing-ms": "435", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "80", + "x-envoy-upstream-service-time": "440", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -778,101 +527,88 @@ "object": "list", "data": [ { - "id": "file-X6AeJ29VCTFzU4GspmFVJE", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-VCqC6T3TPeaPgzmx3up4cn", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-6pBCAsXRMAUJJeXoduhuFm", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-VhybfvuEdtVkBMNrvwL4GW", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-QngKxRqEuDEEKS3Z327kDW", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-XhqvGWwYnGkXYqNa6AgRy2", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-RpV3UJW5puh9LcnjtaWSJ2", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-GhT3t1B9UFBo5QLmVwV3La", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-VjdQFLRWriSx8LRDHDVATu", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-X6AeJ29VCTFzU4GspmFVJE", - "last_id": "file-GhT3t1B9UFBo5QLmVwV3La", + "first_id": "file-QngKxRqEuDEEKS3Z327kDW", + "last_id": "file-VjdQFLRWriSx8LRDHDVATu", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?order=asc&after=file-GhT3t1B9UFBo5QLmVwV3La", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?order=asc&after=file-QngKxRqEuDEEKS3Z327kDW", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d1cf9c1c3c0-SEA", + "CF-RAY": "996eb5944c81d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "1849", + "Content-Length": "1076", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:53 GMT", + "Date": "Thu, 30 Oct 2025 23:31:59 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "96", + "openai-processing-ms": "521", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "100", + "x-envoy-upstream-service-time": "525", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -880,93 +616,71 @@ "object": "list", "data": [ { - "id": "file-XhqvGWwYnGkXYqNa6AgRy2", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-RpV3UJW5puh9LcnjtaWSJ2", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-VhybfvuEdtVkBMNrvwL4GW", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-6pBCAsXRMAUJJeXoduhuFm", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-VCqC6T3TPeaPgzmx3up4cn", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-X6AeJ29VCTFzU4GspmFVJE", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-VjdQFLRWriSx8LRDHDVATu", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-XhqvGWwYnGkXYqNa6AgRy2", - "last_id": "file-X6AeJ29VCTFzU4GspmFVJE", + "first_id": "file-RpV3UJW5puh9LcnjtaWSJ2", + "last_id": "file-VjdQFLRWriSx8LRDHDVATu", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeed7714819191b9955c08d8a667/file_batches/vsfb_e23b436c046d4a25a634f7c556219203/files?order=asc&before=file-X6AeJ29VCTFzU4GspmFVJE", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f55e896c81918971b5b6f80dedc5/file_batches/vsfb_ibj_6903f5611d5881f4b95351adaa6e4f02/files?order=asc&before=file-VjdQFLRWriSx8LRDHDVATu", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040d1e1a9dc3c0-SEA", + "CF-RAY": "996eb598e991d5ec-SEA", "Connection": "keep-alive", - "Content-Length": "1849", + "Content-Length": "1076", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:12:53 GMT", + "Date": "Thu, 30 Oct 2025 23:32:00 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "87", + "openai-processing-ms": "482", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "92", + "x-envoy-upstream-service-time": "486", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -974,64 +688,42 @@ "object": "list", "data": [ { - "id": "file-GhT3t1B9UFBo5QLmVwV3La", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-XhqvGWwYnGkXYqNa6AgRy2", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-QngKxRqEuDEEKS3Z327kDW", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-VhybfvuEdtVkBMNrvwL4GW", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-6pBCAsXRMAUJJeXoduhuFm", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-VCqC6T3TPeaPgzmx3up4cn", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-YXQnGc4ZhPV3QFZYf9CRSq", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null - }, - { - "id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", - "object": "vector_store.file", - "created_at": 1758064370, - "vector_store_id": "vs_68c9eeed7714819191b9955c08d8a667", - "status": "completed", - "last_error": null + "id": "file-RpV3UJW5puh9LcnjtaWSJ2", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761867106, + "vector_store_id": "vs_6903f55e896c81918971b5b6f80dedc5", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-GhT3t1B9UFBo5QLmVwV3La", - "last_id": "file-5h3BWJMCyaK4ZrzLQ9E5iV", + "first_id": "file-QngKxRqEuDEEKS3Z327kDW", + "last_id": "file-RpV3UJW5puh9LcnjtaWSJ2", "has_more": false } } diff --git a/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptionsAsync.json b/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptionsAsync.json index 5c284d7b7..266d1062e 100644 --- a/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptionsAsync.json +++ b/tests/SessionRecords/VectorStoresTests/CanTestGetVectorStoreFilesInBatchCollectionOptionsAsync.json @@ -8,33 +8,37 @@ "Authorization": "Sanitized", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": {}, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b50f925ebbf-SEA", + "CF-RAY": "996eb1465909276b-SEA", "Connection": "keep-alive", "Content-Length": "404", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:39 GMT", + "Date": "Thu, 30 Oct 2025 23:29:03 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "172", + "openai-processing-ms": "436", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", + "Set-Cookie": [ + "Sanitized", + "Sanitized" + ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "175", + "x-envoy-upstream-service-time": "439", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "vs_68c9eeabbc688191ba0cf98215a56f3f", + "id": "vs_6903f4be8b0081919c4a70e09262a2f9", "object": "vector_store", - "created_at": 1758064299, + "created_at": 1761866942, "name": null, "description": null, "usage_bytes": 0, @@ -48,7 +52,7 @@ "status": "completed", "expires_after": null, "expires_at": null, - "last_active_at": 1758064299, + "last_active_at": 1761866942, "metadata": {} } }, @@ -59,8 +63,8 @@ "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"aV4Yv3gAZt7L_GtQxs5c8j5r8ZPnFlkbBCVfBOWjWJJU3Y0uxec7TDGVr7Cc9pcNHGrkMH\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Type": "multipart/form-data; boundary=\"9AWuiX0ou2On7EPTGCpNvZn3cgyaSBPjtZnkYiBJ6A1ogRVS4KQXv48sVmQWvo0XKQVQj0\"", + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, @@ -68,29 +72,29 @@ "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b52bb67ebbf-SEA", + "CF-RAY": "996eb14a6c53276b-SEA", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:40 GMT", + "Date": "Thu, 30 Oct 2025 23:29:03 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "510", + "openai-processing-ms": "306", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "517", + "x-envoy-upstream-service-time": "314", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-FrS2TscHgB8ro9c2YXcCL6", + "id": "file-LHp1krSoLe7hBXuoP9X7SV", "purpose": "assistants", "filename": "test_file_000.txt", "bytes": 21, - "created_at": 1758064300, + "created_at": 1761866943, "expires_at": null, "status": "processed", "status_details": null @@ -103,8 +107,8 @@ "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"FCt=5L559NaJfcwKrsTq241pL9oVxfw02GkwqmKAXKSW9tV=d96J8yLLXcUkYI3JGCpk6X\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Type": "multipart/form-data; boundary=\"vOtyc3mhb88A7spUwo6mdIIYJ=Oqkio1Cjoj25Fp3vEiWCmzadSsBPHzxtcbM7lEr2OyZ7\"", + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, @@ -112,29 +116,29 @@ "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b56a80cebbf-SEA", + "CF-RAY": "996eb14d2f1f276b-SEA", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:41 GMT", + "Date": "Thu, 30 Oct 2025 23:29:03 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "340", + "openai-processing-ms": "286", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "353", + "x-envoy-upstream-service-time": "295", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-UAxeq5L7FK9vhR2j1WZrJA", + "id": "file-79ZjcDXsoub87PaioJdGsC", "purpose": "assistants", "filename": "test_file_001.txt", "bytes": 21, - "created_at": 1758064300, + "created_at": 1761866943, "expires_at": null, "status": "processed", "status_details": null @@ -147,8 +151,8 @@ "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"3s9p_z_bkLrtWgWspEncKfqKCyJPoT0TjLCfZZu6VfWEiYUOikrTa69MMe8rrqCXJoqK4y\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Type": "multipart/form-data; boundary=\"iNKVlBf9SYZZqaBrjcf6KrcTyo9zbaz=HxKmP3Zg8ZEK8Iz7rZTCWZzgZNFoulqi=85L59\"", + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, @@ -156,337 +160,112 @@ "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b596a93ebbf-SEA", + "CF-RAY": "996eb14fd970276b-SEA", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:42 GMT", + "Date": "Thu, 30 Oct 2025 23:29:04 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "1046", + "openai-processing-ms": "817", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1056", + "x-envoy-upstream-service-time": "831", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-9cKFMbYCxpGEsAH49qjCJc", + "id": "file-9FJrEVuotJezS1f6E1Hd9y", "purpose": "assistants", "filename": "test_file_002.txt", "bytes": 21, - "created_at": 1758064301, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"VElMnO9iIpP1s4iKrXpOzuG=5AGAd1OzVSF7LwsJoM6=TkigTdttGz=E_zWWqOhvVuCaVv\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b6099f5ebbf-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:42 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "225", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "232", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-XFbxsQKphLegtXXhx6MkGj", - "purpose": "assistants", - "filename": "test_file_003.txt", - "bytes": 21, - "created_at": 1758064302, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"pQbd13uxQ_ptsUpT3IA3I3EXYXeN4vjjhKfcXw17bnlx4yhKNPVg5d4=QK8CQy3ZTlfxWZ\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b628befebbf-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:42 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "241", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "251", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-A8oV9GYjtjtTq9BzzQ9pZb", - "purpose": "assistants", - "filename": "test_file_004.txt", - "bytes": 21, - "created_at": 1758064302, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"A0BSQ3TnQqSlarhz4waumaUfcpfJHYrzgUuxsvPewwgNZVJsmCxPhRUPvvCYxiMShFBTCB\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b655ecbebbf-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:43 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "486", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "494", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "purpose": "assistants", - "filename": "test_file_005.txt", - "bytes": 21, - "created_at": 1758064303, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"Y5lyih21J6VoHi8j8tAcHWNMuvqZHXMJxTdxdL6Nd8vkUCyLsMf32tp60FQ9emWfQXUpz6\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b68fa2cebbf-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:44 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "1117", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "1127", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-7NwHW55XXpDmd7bPi3Nqkr", - "purpose": "assistants", - "filename": "test_file_006.txt", - "bytes": 21, - "created_at": 1758064303, - "expires_at": null, - "status": "processed", - "status_details": null - } - }, - { - "RequestUri": "https://api.openai.com/v1/files", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "457", - "Content-Type": "multipart/form-data; boundary=\"3oXIn=_tzid1P6chxoAVxz3bxHhTJIFfkmbzD_rUe2X=9OeGZSwpWkrDbahT7RlZvW25Gt\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Access-Control-Allow-Origin": "*", - "Alt-Svc": "h3=\":443\"", - "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b7129d7ebbf-SEA", - "Connection": "keep-alive", - "Content-Length": "240", - "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:45 GMT", - "openai-organization": "Sanitized", - "openai-processing-ms": "323", - "openai-project": "Sanitized", - "openai-version": "2020-10-01", - "Server": "cloudflare", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", - "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "334", - "x-openai-proxy-wasm": "v0.1", - "X-Request-ID": "Sanitized" - }, - "ResponseBody": { - "object": "file", - "id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "purpose": "assistants", - "filename": "test_file_007.txt", - "bytes": 21, - "created_at": 1758064304, + "created_at": 1761866944, "expires_at": null, "status": "processed", "status_details": null } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "254", + "Content-Length": "104", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": { "file_ids": [ - "file-FrS2TscHgB8ro9c2YXcCL6", - "file-UAxeq5L7FK9vhR2j1WZrJA", - "file-9cKFMbYCxpGEsAH49qjCJc", - "file-XFbxsQKphLegtXXhx6MkGj", - "file-A8oV9GYjtjtTq9BzzQ9pZb", - "file-L3Xy6FyBLWPC3bbyX5MZpo", - "file-7NwHW55XXpDmd7bPi3Nqkr", - "file-LZZAPprpA6ZFAFCCAYR3Bt" + "file-LHp1krSoLe7hBXuoP9X7SV", + "file-79ZjcDXsoub87PaioJdGsC", + "file-9FJrEVuotJezS1f6E1Hd9y" ] }, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b73cc76ebbf-SEA", + "CF-RAY": "996eb155de6c276b-SEA", "Connection": "keep-alive", - "Content-Length": "323", + "Content-Length": "327", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:45 GMT", + "Date": "Thu, 30 Oct 2025 23:29:05 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "641", + "openai-processing-ms": "803", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "646", + "x-envoy-upstream-service-time": "806", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "vsfb_7eee60f412094988ab2fbb1fdc9c48fd", + "id": "vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01", "object": "vector_store.file_batch", - "created_at": 1758064305, + "created_at": 1761866945, "status": "in_progress", - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", "file_counts": { - "in_progress": 8, + "in_progress": 3, "completed": 0, "failed": 0, "cancelled": 0, - "total": 8 + "total": 3 } } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?limit=5&order=asc", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?limit=2&order=asc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b7ebf7febbf-SEA", + "CF-RAY": "996eb19a5be4276b-SEA", "Connection": "keep-alive", - "Content-Length": "1362", + "Content-Length": "1075", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:47 GMT", + "Date": "Thu, 30 Oct 2025 23:29:16 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "182", + "openai-processing-ms": "295", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "187", + "x-envoy-upstream-service-time": "298", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -494,77 +273,71 @@ "object": "list", "data": [ { - "id": "file-FrS2TscHgB8ro9c2YXcCL6", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-UAxeq5L7FK9vhR2j1WZrJA", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-9cKFMbYCxpGEsAH49qjCJc", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-XFbxsQKphLegtXXhx6MkGj", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-79ZjcDXsoub87PaioJdGsC", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-A8oV9GYjtjtTq9BzzQ9pZb", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-9FJrEVuotJezS1f6E1Hd9y", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-FrS2TscHgB8ro9c2YXcCL6", - "last_id": "file-A8oV9GYjtjtTq9BzzQ9pZb", + "first_id": "file-79ZjcDXsoub87PaioJdGsC", + "last_id": "file-9FJrEVuotJezS1f6E1Hd9y", "has_more": true } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?limit=5&order=asc&after=file-A8oV9GYjtjtTq9BzzQ9pZb", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?limit=2&order=asc&after=file-9FJrEVuotJezS1f6E1Hd9y", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b80b99cebbf-SEA", + "CF-RAY": "996eb19d1e60276b-SEA", "Connection": "keep-alive", - "Content-Length": "877", + "Content-Length": "612", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:47 GMT", + "Date": "Thu, 30 Oct 2025 23:29:16 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "94", + "openai-processing-ms": "502", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "96", + "x-envoy-upstream-service-time": "506", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -572,61 +345,54 @@ "object": "list", "data": [ { - "id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-7NwHW55XXpDmd7bPi3Nqkr", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-LHp1krSoLe7hBXuoP9X7SV", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "last_id": "file-LZZAPprpA6ZFAFCCAYR3Bt", + "first_id": "file-LHp1krSoLe7hBXuoP9X7SV", + "last_id": "file-LHp1krSoLe7hBXuoP9X7SV", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?limit=5&order=desc", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?limit=2&order=desc", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b81eb06ebbf-SEA", + "CF-RAY": "996eb1a109c1276b-SEA", "Connection": "keep-alive", - "Content-Length": "1362", + "Content-Length": "1075", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:47 GMT", + "Date": "Thu, 30 Oct 2025 23:29:17 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "88", + "openai-processing-ms": "526", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "91", + "x-envoy-upstream-service-time": "552", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -634,77 +400,71 @@ "object": "list", "data": [ { - "id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-7NwHW55XXpDmd7bPi3Nqkr", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-A8oV9GYjtjtTq9BzzQ9pZb", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-79ZjcDXsoub87PaioJdGsC", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-XFbxsQKphLegtXXhx6MkGj", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-9FJrEVuotJezS1f6E1Hd9y", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "last_id": "file-XFbxsQKphLegtXXhx6MkGj", + "first_id": "file-79ZjcDXsoub87PaioJdGsC", + "last_id": "file-9FJrEVuotJezS1f6E1Hd9y", "has_more": true } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?limit=5&order=desc&after=file-XFbxsQKphLegtXXhx6MkGj", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?limit=2&order=desc&after=file-9FJrEVuotJezS1f6E1Hd9y", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b831c4cebbf-SEA", + "CF-RAY": "996eb1a58d94276b-SEA", "Connection": "keep-alive", - "Content-Length": "877", + "Content-Length": "612", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:47 GMT", + "Date": "Thu, 30 Oct 2025 23:29:18 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "75", + "openai-processing-ms": "634", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "78", + "x-envoy-upstream-service-time": "641", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -712,61 +472,54 @@ "object": "list", "data": [ { - "id": "file-9cKFMbYCxpGEsAH49qjCJc", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-UAxeq5L7FK9vhR2j1WZrJA", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-FrS2TscHgB8ro9c2YXcCL6", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-LHp1krSoLe7hBXuoP9X7SV", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-9cKFMbYCxpGEsAH49qjCJc", - "last_id": "file-FrS2TscHgB8ro9c2YXcCL6", + "first_id": "file-LHp1krSoLe7hBXuoP9X7SV", + "last_id": "file-LHp1krSoLe7hBXuoP9X7SV", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?filter=completed", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?filter=completed", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b841d60ebbf-SEA", + "CF-RAY": "996eb1aa6a45276b-SEA", "Connection": "keep-alive", - "Content-Length": "2092", + "Content-Length": "1540", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:48 GMT", + "Date": "Thu, 30 Oct 2025 23:29:18 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "122", + "openai-processing-ms": "391", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "132", + "x-envoy-upstream-service-time": "395", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -774,101 +527,88 @@ "object": "list", "data": [ { - "id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-7NwHW55XXpDmd7bPi3Nqkr", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-A8oV9GYjtjtTq9BzzQ9pZb", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-XFbxsQKphLegtXXhx6MkGj", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-9cKFMbYCxpGEsAH49qjCJc", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-79ZjcDXsoub87PaioJdGsC", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-UAxeq5L7FK9vhR2j1WZrJA", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-9FJrEVuotJezS1f6E1Hd9y", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-FrS2TscHgB8ro9c2YXcCL6", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-LHp1krSoLe7hBXuoP9X7SV", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "last_id": "file-FrS2TscHgB8ro9c2YXcCL6", + "first_id": "file-79ZjcDXsoub87PaioJdGsC", + "last_id": "file-LHp1krSoLe7hBXuoP9X7SV", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?order=asc&after=file-FrS2TscHgB8ro9c2YXcCL6", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?order=asc&after=file-79ZjcDXsoub87PaioJdGsC", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b857edbebbf-SEA", + "CF-RAY": "996eb1adbd5e276b-SEA", "Connection": "keep-alive", - "Content-Length": "1849", + "Content-Length": "1076", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:48 GMT", + "Date": "Thu, 30 Oct 2025 23:29:19 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "84", + "openai-processing-ms": "524", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "87", + "x-envoy-upstream-service-time": "528", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -876,93 +616,71 @@ "object": "list", "data": [ { - "id": "file-UAxeq5L7FK9vhR2j1WZrJA", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-9FJrEVuotJezS1f6E1Hd9y", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-9cKFMbYCxpGEsAH49qjCJc", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-XFbxsQKphLegtXXhx6MkGj", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-A8oV9GYjtjtTq9BzzQ9pZb", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-7NwHW55XXpDmd7bPi3Nqkr", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-LZZAPprpA6ZFAFCCAYR3Bt", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-LHp1krSoLe7hBXuoP9X7SV", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-UAxeq5L7FK9vhR2j1WZrJA", - "last_id": "file-LZZAPprpA6ZFAFCCAYR3Bt", + "first_id": "file-9FJrEVuotJezS1f6E1Hd9y", + "last_id": "file-LHp1krSoLe7hBXuoP9X7SV", "has_more": false } }, { - "RequestUri": "https://api.openai.com/v1/vector_stores/vs_68c9eeabbc688191ba0cf98215a56f3f/file_batches/vsfb_7eee60f412094988ab2fbb1fdc9c48fd/files?order=asc&before=file-LZZAPprpA6ZFAFCCAYR3Bt", + "RequestUri": "https://api.openai.com/v1/vector_stores/vs_6903f4be8b0081919c4a70e09262a2f9/file_batches/vsfb_ibj_6903f4c13c0481f4a73a8ecb429f3f01/files?order=asc&before=file-LHp1krSoLe7hBXuoP9X7SV", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.6.0-alpha.20251030.2 (.NET 9.0.10; Microsoft Windows 10.0.26200)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "98040b86a809ebbf-SEA", + "CF-RAY": "996eb1b1c90d276b-SEA", "Connection": "keep-alive", - "Content-Length": "1849", + "Content-Length": "1076", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 23:11:48 GMT", + "Date": "Thu, 30 Oct 2025 23:29:20 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "90", + "openai-processing-ms": "534", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "93", + "x-envoy-upstream-service-time": "539", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, @@ -970,64 +688,42 @@ "object": "list", "data": [ { - "id": "file-FrS2TscHgB8ro9c2YXcCL6", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-UAxeq5L7FK9vhR2j1WZrJA", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-79ZjcDXsoub87PaioJdGsC", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} }, { - "id": "file-9cKFMbYCxpGEsAH49qjCJc", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-XFbxsQKphLegtXXhx6MkGj", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-A8oV9GYjtjtTq9BzzQ9pZb", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-L3Xy6FyBLWPC3bbyX5MZpo", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null - }, - { - "id": "file-7NwHW55XXpDmd7bPi3Nqkr", - "object": "vector_store.file", - "created_at": 1758064305, - "vector_store_id": "vs_68c9eeabbc688191ba0cf98215a56f3f", - "status": "completed", - "last_error": null + "id": "file-9FJrEVuotJezS1f6E1Hd9y", + "object": "vector_store.file", + "usage_bytes": 21, + "created_at": 1761866946, + "vector_store_id": "vs_6903f4be8b0081919c4a70e09262a2f9", + "status": "completed", + "last_error": null, + "chunking_strategy": { + "type": "static", + "static": { + "max_chunk_size_tokens": 800, + "chunk_overlap_tokens": 400 + } + }, + "attributes": {} } ], - "first_id": "file-FrS2TscHgB8ro9c2YXcCL6", - "last_id": "file-7NwHW55XXpDmd7bPi3Nqkr", + "first_id": "file-79ZjcDXsoub87PaioJdGsC", + "last_id": "file-9FJrEVuotJezS1f6E1Hd9y", "has_more": false } } diff --git a/tests/Utility/TestHelpers.cs b/tests/Utility/TestHelpers.cs index ecd3a365d..01ac3b7f1 100644 --- a/tests/Utility/TestHelpers.cs +++ b/tests/Utility/TestHelpers.cs @@ -64,7 +64,7 @@ public enum TestScenario TestScenario.FineTuning => null, TestScenario.Images => "gpt-image-1", TestScenario.Models => null, - TestScenario.Moderations => "text-moderation-stable", + TestScenario.Moderations => "omni-moderation-latest", TestScenario.VectorStores => null, TestScenario.TopLevel => null, TestScenario.Realtime => "gpt-4o-realtime-preview-2024-10-01",