File tree 2 files changed +16
-18
lines changed
templates/types/streaming
2 files changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,15 @@ export const convertMessageContent = (
39
39
{
40
40
type : "text" ,
41
41
text : textMessage ,
42
- }
42
+ } ,
43
43
] ;
44
44
if ( additionalData ?. imageUrl ) {
45
- content . push (
46
- {
47
- type : "image_url" ,
48
- image_url : {
49
- url : additionalData ?. imageUrl ,
50
- } ,
51
- } ) ;
45
+ content . push ( {
46
+ type : "image_url" ,
47
+ image_url : {
48
+ url : additionalData ?. imageUrl ,
49
+ } ,
50
+ } ) ;
52
51
}
53
52
54
53
if ( additionalData ?. uploadedCsv ) {
@@ -59,7 +58,7 @@ export const convertMessageContent = (
59
58
"\n```" ;
60
59
content . push ( {
61
60
type : "text" ,
62
- text : `${ csvContent } \n\n${ textMessage } `
61
+ text : `${ csvContent } \n\n${ textMessage } ` ,
63
62
} ) ;
64
63
}
65
64
Original file line number Diff line number Diff line change @@ -39,16 +39,15 @@ export const convertMessageContent = (
39
39
{
40
40
type : "text" ,
41
41
text : textMessage ,
42
- }
42
+ } ,
43
43
] ;
44
44
if ( additionalData ?. imageUrl ) {
45
- content . push (
46
- {
47
- type : "image_url" ,
48
- image_url : {
49
- url : additionalData ?. imageUrl ,
50
- } ,
51
- } ) ;
45
+ content . push ( {
46
+ type : "image_url" ,
47
+ image_url : {
48
+ url : additionalData ?. imageUrl ,
49
+ } ,
50
+ } ) ;
52
51
}
53
52
54
53
if ( additionalData ?. uploadedCsv ) {
@@ -59,7 +58,7 @@ export const convertMessageContent = (
59
58
"\n```" ;
60
59
content . push ( {
61
60
type : "text" ,
62
- text : `${ csvContent } \n\n${ textMessage } `
61
+ text : `${ csvContent } \n\n${ textMessage } ` ,
63
62
} ) ;
64
63
}
65
64
You can’t perform that action at this time.
0 commit comments