@@ -1055,6 +1055,7 @@ describe('file attachments with data url', () => {
10551055 "id": "id-1",
10561056 "parts": [
10571057 {
1058+ "filename": "test.txt",
10581059 "mediaType": "text/plain",
10591060 "type": "file",
10601061 "url": "data:text/plain;base64,dGVzdCBmaWxlIGNvbnRlbnQ=",
@@ -1090,6 +1091,7 @@ describe('file attachments with data url', () => {
10901091 "content": "Message with text attachment",
10911092 "parts": [
10921093 {
1094+ "filename": "test.txt",
10931095 "mediaType": "text/plain",
10941096 "type": "file",
10951097 "url": "data:text/plain;base64,dGVzdCBmaWxlIGNvbnRlbnQ=",
@@ -1130,6 +1132,7 @@ describe('file attachments with data url', () => {
11301132 "id": "id-1",
11311133 "parts": [
11321134 {
1135+ "filename": "test.png",
11331136 "mediaType": "image/png",
11341137 "type": "file",
11351138 "url": "data:image/png;base64,dGVzdCBpbWFnZSBjb250ZW50",
@@ -1165,6 +1168,7 @@ describe('file attachments with data url', () => {
11651168 "content": "Message with image attachment",
11661169 "parts": [
11671170 {
1171+ "filename": "test.png",
11681172 "mediaType": "image/png",
11691173 "type": "file",
11701174 "url": "data:image/png;base64,dGVzdCBpbWFnZSBjb250ZW50",
@@ -1218,6 +1222,7 @@ describe('file attachments with url', () => {
12181222 "id": "id-1",
12191223 "parts": [
12201224 {
1225+ "filename": "test.png",
12211226 "mediaType": "image/png",
12221227 "type": "file",
12231228 "url": "data:image/png;base64,dGVzdCBpbWFnZSBjb250ZW50",
@@ -1253,6 +1258,7 @@ describe('file attachments with url', () => {
12531258 "content": "Message with image attachment",
12541259 "parts": [
12551260 {
1261+ "filename": "test.png",
12561262 "mediaType": "image/png",
12571263 "type": "file",
12581264 "url": "data:image/png;base64,dGVzdCBpbWFnZSBjb250ZW50",
@@ -1305,6 +1311,7 @@ describe('file attachments with empty text content', () => {
13051311 "id": "id-1",
13061312 "parts": [
13071313 {
1314+ "filename": "test.png",
13081315 "mediaType": "image/png",
13091316 "type": "file",
13101317 "url": "data:image/png;base64,dGVzdCBpbWFnZSBjb250ZW50",
@@ -1340,6 +1347,7 @@ describe('file attachments with empty text content', () => {
13401347 "content": "",
13411348 "parts": [
13421349 {
1350+ "filename": "test.png",
13431351 "mediaType": "image/png",
13441352 "type": "file",
13451353 "url": "data:image/png;base64,dGVzdCBpbWFnZSBjb250ZW50",
0 commit comments