@@ -34,8 +34,8 @@ describe('resource threads', () => {
3434 {
3535 messages : [
3636 {
37- role : 'user' ,
3837 content : 'string' ,
38+ role : 'user' ,
3939 attachments : [
4040 {
4141 file_id : 'file_id' ,
@@ -65,8 +65,8 @@ describe('resource threads', () => {
6565 metadata : { } ,
6666 } ,
6767 {
68- role : 'user' ,
6968 content : 'string' ,
69+ role : 'user' ,
7070 attachments : [
7171 {
7272 file_id : 'file_id' ,
@@ -96,8 +96,8 @@ describe('resource threads', () => {
9696 metadata : { } ,
9797 } ,
9898 {
99- role : 'user' ,
10099 content : 'string' ,
100+ role : 'user' ,
101101 attachments : [
102102 {
103103 file_id : 'file_id' ,
@@ -134,8 +134,8 @@ describe('resource threads', () => {
134134 vector_store_ids : [ 'string' ] ,
135135 vector_stores : [
136136 {
137- file_ids : [ 'string' , 'string' , 'string' ] ,
138137 chunking_strategy : { type : 'auto' } ,
138+ file_ids : [ 'string' , 'string' , 'string' ] ,
139139 metadata : { } ,
140140 } ,
141141 ] ,
@@ -220,8 +220,8 @@ describe('resource threads', () => {
220220 thread : {
221221 messages : [
222222 {
223- role : 'user' ,
224223 content : 'string' ,
224+ role : 'user' ,
225225 attachments : [
226226 {
227227 file_id : 'file_id' ,
@@ -251,8 +251,8 @@ describe('resource threads', () => {
251251 metadata : { } ,
252252 } ,
253253 {
254- role : 'user' ,
255254 content : 'string' ,
255+ role : 'user' ,
256256 attachments : [
257257 {
258258 file_id : 'file_id' ,
@@ -282,8 +282,8 @@ describe('resource threads', () => {
282282 metadata : { } ,
283283 } ,
284284 {
285- role : 'user' ,
286285 content : 'string' ,
286+ role : 'user' ,
287287 attachments : [
288288 {
289289 file_id : 'file_id' ,
@@ -313,16 +313,16 @@ describe('resource threads', () => {
313313 metadata : { } ,
314314 } ,
315315 ] ,
316+ metadata : { } ,
316317 tool_resources : {
317318 code_interpreter : { file_ids : [ 'string' , 'string' , 'string' ] } ,
318319 file_search : {
319320 vector_store_ids : [ 'string' ] ,
320321 vector_stores : [
321- { file_ids : [ 'string' , 'string' , 'string' ] , chunking_strategy : { type : 'auto' } , metadata : { } } ,
322+ { chunking_strategy : { type : 'auto' } , file_ids : [ 'string' , 'string' , 'string' ] , metadata : { } } ,
322323 ] ,
323324 } ,
324325 } ,
325- metadata : { } ,
326326 } ,
327327 tool_choice : 'none' ,
328328 tool_resources : {
0 commit comments