@@ -34,8 +34,8 @@ describe('resource threads', () => {
34
34
{
35
35
messages : [
36
36
{
37
- role : 'user' ,
38
37
content : 'string' ,
38
+ role : 'user' ,
39
39
attachments : [
40
40
{
41
41
file_id : 'file_id' ,
@@ -65,8 +65,8 @@ describe('resource threads', () => {
65
65
metadata : { } ,
66
66
} ,
67
67
{
68
- role : 'user' ,
69
68
content : 'string' ,
69
+ role : 'user' ,
70
70
attachments : [
71
71
{
72
72
file_id : 'file_id' ,
@@ -96,8 +96,8 @@ describe('resource threads', () => {
96
96
metadata : { } ,
97
97
} ,
98
98
{
99
- role : 'user' ,
100
99
content : 'string' ,
100
+ role : 'user' ,
101
101
attachments : [
102
102
{
103
103
file_id : 'file_id' ,
@@ -134,8 +134,8 @@ describe('resource threads', () => {
134
134
vector_store_ids : [ 'string' ] ,
135
135
vector_stores : [
136
136
{
137
- file_ids : [ 'string' , 'string' , 'string' ] ,
138
137
chunking_strategy : { type : 'auto' } ,
138
+ file_ids : [ 'string' , 'string' , 'string' ] ,
139
139
metadata : { } ,
140
140
} ,
141
141
] ,
@@ -220,8 +220,8 @@ describe('resource threads', () => {
220
220
thread : {
221
221
messages : [
222
222
{
223
- role : 'user' ,
224
223
content : 'string' ,
224
+ role : 'user' ,
225
225
attachments : [
226
226
{
227
227
file_id : 'file_id' ,
@@ -251,8 +251,8 @@ describe('resource threads', () => {
251
251
metadata : { } ,
252
252
} ,
253
253
{
254
- role : 'user' ,
255
254
content : 'string' ,
255
+ role : 'user' ,
256
256
attachments : [
257
257
{
258
258
file_id : 'file_id' ,
@@ -282,8 +282,8 @@ describe('resource threads', () => {
282
282
metadata : { } ,
283
283
} ,
284
284
{
285
- role : 'user' ,
286
285
content : 'string' ,
286
+ role : 'user' ,
287
287
attachments : [
288
288
{
289
289
file_id : 'file_id' ,
@@ -313,16 +313,16 @@ describe('resource threads', () => {
313
313
metadata : { } ,
314
314
} ,
315
315
] ,
316
+ metadata : { } ,
316
317
tool_resources : {
317
318
code_interpreter : { file_ids : [ 'string' , 'string' , 'string' ] } ,
318
319
file_search : {
319
320
vector_store_ids : [ 'string' ] ,
320
321
vector_stores : [
321
- { file_ids : [ 'string' , 'string' , 'string' ] , chunking_strategy : { type : 'auto' } , metadata : { } } ,
322
+ { chunking_strategy : { type : 'auto' } , file_ids : [ 'string' , 'string' , 'string' ] , metadata : { } } ,
322
323
] ,
323
324
} ,
324
325
} ,
325
- metadata : { } ,
326
326
} ,
327
327
tool_choice : 'none' ,
328
328
tool_resources : {
0 commit comments