Skip to content

Commit 5d5e2fe

Browse files
jozkeeCopilot
andcommitted
feat: Update to Microsoft.Extensions.AI.Abstractions 10.5.1
Update `Microsoft.Extensions.AI.Abstractions` from 10.4.0 to **10.5.1**. ## Breaking changes addressed - **`WebSearchToolResultContent`**: the `Results` property was renamed to `Outputs` for consistency with `CodeInterpreterToolResultContent.Outputs`. Updated the grounding-metadata mapping in `GoogleGenAIChatClient` and the corresponding tests in `GoogleGenAIExtensionsTest`. NOTE: `packages.lock.json` files will need to be regenerated against the published 10.5.1 package; not included in this commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 75b52c7 commit 5d5e2fe

14 files changed

Lines changed: 188 additions & 227 deletions

File tree

DemoApp/Files/packages.lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"System.IO.Pipelines": {
3232
"type": "Transitive",
33-
"resolved": "10.0.4",
34-
"contentHash": "V7+RO17s/tzCpgqyj6t5vb54HFCvrRaMEwTcKDwpoQK66DRROzSff6kqtzHyiWRj6hrQQUmW80NL4pFSNhYpYA=="
33+
"resolved": "10.0.6",
34+
"contentHash": "98dV8iAMdOzlB7iZ8OOJ3Wj/LNMV+x2c0DCM4EyFEz/kEVmB1+49HwnocY703amF2BguoZZXk4t3lPSfbcHOgA=="
3535
},
3636
"System.Management": {
3737
"type": "Transitive",
@@ -43,14 +43,14 @@
4343
},
4444
"System.Text.Encodings.Web": {
4545
"type": "Transitive",
46-
"resolved": "10.0.4",
47-
"contentHash": "6g3B7jNsPRNf4luuYt1qE4R8S3JI+zMsfGWL9Idv4Mk1Z9Gh+rCagp9sG3AejPS87yBj1DjopM4i3wSz0WnEqg=="
46+
"resolved": "10.0.6",
47+
"contentHash": "o7zWD39jHesxpHyMSWAf+CjM+NaEIV49IJ8tasAsnaVkRcLP33+5aobgxeKLJRLQQfeciO7BbW5vXCUMzPoU6w=="
4848
},
4949
"google.genai": {
5050
"type": "Project",
5151
"dependencies": {
5252
"Google.Apis.Auth": "[1.69.0, )",
53-
"Microsoft.Extensions.AI.Abstractions": "[10.4.0, )",
53+
"Microsoft.Extensions.AI.Abstractions": "[10.5.1, )",
5454
"MimeTypes": "[2.5.2, )"
5555
}
5656
},
@@ -67,11 +67,11 @@
6767
},
6868
"Microsoft.Extensions.AI.Abstractions": {
6969
"type": "CentralTransitive",
70-
"requested": "[10.4.0, )",
71-
"resolved": "10.4.0",
72-
"contentHash": "t3S2H4do4YeNheIfE3GEl3MnKIrnxpbLu7a88spfApYR3in9ddhIq/GMtxgMaFjn/PUMTCFv5YH7Y6Q91dsDXQ==",
70+
"requested": "[10.5.1, )",
71+
"resolved": "10.5.1",
72+
"contentHash": "nB0l3IlsVbNeUxsE7nZNb9GY8rP1OSeqpj0pseORPejt474HNKEauTWTLdSJPkSvPlRMxowZNMo6nyp7APAiSg==",
7373
"dependencies": {
74-
"System.Text.Json": "10.0.4"
74+
"System.Text.Json": "10.0.6"
7575
}
7676
},
7777
"MimeTypes": {
@@ -82,12 +82,12 @@
8282
},
8383
"System.Text.Json": {
8484
"type": "CentralTransitive",
85-
"requested": "[10.0.4, )",
86-
"resolved": "10.0.4",
87-
"contentHash": "1tRPRt8D/kzjGL7em1uJ3iJlvVIC3G/sZJ+ZgSvtVYLXGGO26Clkqy2b5uts/pyR706Yw8/xA7exeI2PI50dpw==",
85+
"requested": "[10.0.6, )",
86+
"resolved": "10.0.6",
87+
"contentHash": "eU/JSsGWpQPE+rkBJjFjsmtaPsu1kCLqFYeW3NS715+z/dP2/BsCl6R7BFGcjhg+rm5WHblllC3p7QS+sS3HtA==",
8888
"dependencies": {
89-
"System.IO.Pipelines": "10.0.4",
90-
"System.Text.Encodings.Web": "10.0.4"
89+
"System.IO.Pipelines": "10.0.6",
90+
"System.Text.Encodings.Web": "10.0.6"
9191
}
9292
}
9393
}

DemoApp/GenerateContentSimpleText/packages.lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"System.IO.Pipelines": {
3232
"type": "Transitive",
33-
"resolved": "10.0.4",
34-
"contentHash": "V7+RO17s/tzCpgqyj6t5vb54HFCvrRaMEwTcKDwpoQK66DRROzSff6kqtzHyiWRj6hrQQUmW80NL4pFSNhYpYA=="
33+
"resolved": "10.0.6",
34+
"contentHash": "98dV8iAMdOzlB7iZ8OOJ3Wj/LNMV+x2c0DCM4EyFEz/kEVmB1+49HwnocY703amF2BguoZZXk4t3lPSfbcHOgA=="
3535
},
3636
"System.Management": {
3737
"type": "Transitive",
@@ -43,14 +43,14 @@
4343
},
4444
"System.Text.Encodings.Web": {
4545
"type": "Transitive",
46-
"resolved": "10.0.4",
47-
"contentHash": "6g3B7jNsPRNf4luuYt1qE4R8S3JI+zMsfGWL9Idv4Mk1Z9Gh+rCagp9sG3AejPS87yBj1DjopM4i3wSz0WnEqg=="
46+
"resolved": "10.0.6",
47+
"contentHash": "o7zWD39jHesxpHyMSWAf+CjM+NaEIV49IJ8tasAsnaVkRcLP33+5aobgxeKLJRLQQfeciO7BbW5vXCUMzPoU6w=="
4848
},
4949
"google.genai": {
5050
"type": "Project",
5151
"dependencies": {
5252
"Google.Apis.Auth": "[1.69.0, )",
53-
"Microsoft.Extensions.AI.Abstractions": "[10.4.0, )",
53+
"Microsoft.Extensions.AI.Abstractions": "[10.5.1, )",
5454
"MimeTypes": "[2.5.2, )"
5555
}
5656
},
@@ -67,11 +67,11 @@
6767
},
6868
"Microsoft.Extensions.AI.Abstractions": {
6969
"type": "CentralTransitive",
70-
"requested": "[10.4.0, )",
71-
"resolved": "10.4.0",
72-
"contentHash": "t3S2H4do4YeNheIfE3GEl3MnKIrnxpbLu7a88spfApYR3in9ddhIq/GMtxgMaFjn/PUMTCFv5YH7Y6Q91dsDXQ==",
70+
"requested": "[10.5.1, )",
71+
"resolved": "10.5.1",
72+
"contentHash": "nB0l3IlsVbNeUxsE7nZNb9GY8rP1OSeqpj0pseORPejt474HNKEauTWTLdSJPkSvPlRMxowZNMo6nyp7APAiSg==",
7373
"dependencies": {
74-
"System.Text.Json": "10.0.4"
74+
"System.Text.Json": "10.0.6"
7575
}
7676
},
7777
"MimeTypes": {
@@ -82,12 +82,12 @@
8282
},
8383
"System.Text.Json": {
8484
"type": "CentralTransitive",
85-
"requested": "[10.0.4, )",
86-
"resolved": "10.0.4",
87-
"contentHash": "1tRPRt8D/kzjGL7em1uJ3iJlvVIC3G/sZJ+ZgSvtVYLXGGO26Clkqy2b5uts/pyR706Yw8/xA7exeI2PI50dpw==",
85+
"requested": "[10.0.6, )",
86+
"resolved": "10.0.6",
87+
"contentHash": "eU/JSsGWpQPE+rkBJjFjsmtaPsu1kCLqFYeW3NS715+z/dP2/BsCl6R7BFGcjhg+rm5WHblllC3p7QS+sS3HtA==",
8888
"dependencies": {
89-
"System.IO.Pipelines": "10.0.4",
90-
"System.Text.Encodings.Web": "10.0.4"
89+
"System.IO.Pipelines": "10.0.6",
90+
"System.Text.Encodings.Web": "10.0.6"
9191
}
9292
}
9393
}

DemoApp/GenerateContentStreamSimpleText/packages.lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"System.IO.Pipelines": {
3232
"type": "Transitive",
33-
"resolved": "10.0.4",
34-
"contentHash": "V7+RO17s/tzCpgqyj6t5vb54HFCvrRaMEwTcKDwpoQK66DRROzSff6kqtzHyiWRj6hrQQUmW80NL4pFSNhYpYA=="
33+
"resolved": "10.0.6",
34+
"contentHash": "98dV8iAMdOzlB7iZ8OOJ3Wj/LNMV+x2c0DCM4EyFEz/kEVmB1+49HwnocY703amF2BguoZZXk4t3lPSfbcHOgA=="
3535
},
3636
"System.Management": {
3737
"type": "Transitive",
@@ -43,14 +43,14 @@
4343
},
4444
"System.Text.Encodings.Web": {
4545
"type": "Transitive",
46-
"resolved": "10.0.4",
47-
"contentHash": "6g3B7jNsPRNf4luuYt1qE4R8S3JI+zMsfGWL9Idv4Mk1Z9Gh+rCagp9sG3AejPS87yBj1DjopM4i3wSz0WnEqg=="
46+
"resolved": "10.0.6",
47+
"contentHash": "o7zWD39jHesxpHyMSWAf+CjM+NaEIV49IJ8tasAsnaVkRcLP33+5aobgxeKLJRLQQfeciO7BbW5vXCUMzPoU6w=="
4848
},
4949
"google.genai": {
5050
"type": "Project",
5151
"dependencies": {
5252
"Google.Apis.Auth": "[1.69.0, )",
53-
"Microsoft.Extensions.AI.Abstractions": "[10.4.0, )",
53+
"Microsoft.Extensions.AI.Abstractions": "[10.5.1, )",
5454
"MimeTypes": "[2.5.2, )"
5555
}
5656
},
@@ -67,11 +67,11 @@
6767
},
6868
"Microsoft.Extensions.AI.Abstractions": {
6969
"type": "CentralTransitive",
70-
"requested": "[10.4.0, )",
71-
"resolved": "10.4.0",
72-
"contentHash": "t3S2H4do4YeNheIfE3GEl3MnKIrnxpbLu7a88spfApYR3in9ddhIq/GMtxgMaFjn/PUMTCFv5YH7Y6Q91dsDXQ==",
70+
"requested": "[10.5.1, )",
71+
"resolved": "10.5.1",
72+
"contentHash": "nB0l3IlsVbNeUxsE7nZNb9GY8rP1OSeqpj0pseORPejt474HNKEauTWTLdSJPkSvPlRMxowZNMo6nyp7APAiSg==",
7373
"dependencies": {
74-
"System.Text.Json": "10.0.4"
74+
"System.Text.Json": "10.0.6"
7575
}
7676
},
7777
"MimeTypes": {
@@ -82,12 +82,12 @@
8282
},
8383
"System.Text.Json": {
8484
"type": "CentralTransitive",
85-
"requested": "[10.0.4, )",
86-
"resolved": "10.0.4",
87-
"contentHash": "1tRPRt8D/kzjGL7em1uJ3iJlvVIC3G/sZJ+ZgSvtVYLXGGO26Clkqy2b5uts/pyR706Yw8/xA7exeI2PI50dpw==",
85+
"requested": "[10.0.6, )",
86+
"resolved": "10.0.6",
87+
"contentHash": "eU/JSsGWpQPE+rkBJjFjsmtaPsu1kCLqFYeW3NS715+z/dP2/BsCl6R7BFGcjhg+rm5WHblllC3p7QS+sS3HtA==",
8888
"dependencies": {
89-
"System.IO.Pipelines": "10.0.4",
90-
"System.Text.Encodings.Web": "10.0.4"
89+
"System.IO.Pipelines": "10.0.6",
90+
"System.Text.Encodings.Web": "10.0.6"
9191
}
9292
}
9393
}

DemoApp/JsonParser/packages.lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"System.IO.Pipelines": {
3232
"type": "Transitive",
33-
"resolved": "10.0.4",
34-
"contentHash": "V7+RO17s/tzCpgqyj6t5vb54HFCvrRaMEwTcKDwpoQK66DRROzSff6kqtzHyiWRj6hrQQUmW80NL4pFSNhYpYA=="
33+
"resolved": "10.0.6",
34+
"contentHash": "98dV8iAMdOzlB7iZ8OOJ3Wj/LNMV+x2c0DCM4EyFEz/kEVmB1+49HwnocY703amF2BguoZZXk4t3lPSfbcHOgA=="
3535
},
3636
"System.Management": {
3737
"type": "Transitive",
@@ -43,14 +43,14 @@
4343
},
4444
"System.Text.Encodings.Web": {
4545
"type": "Transitive",
46-
"resolved": "10.0.4",
47-
"contentHash": "6g3B7jNsPRNf4luuYt1qE4R8S3JI+zMsfGWL9Idv4Mk1Z9Gh+rCagp9sG3AejPS87yBj1DjopM4i3wSz0WnEqg=="
46+
"resolved": "10.0.6",
47+
"contentHash": "o7zWD39jHesxpHyMSWAf+CjM+NaEIV49IJ8tasAsnaVkRcLP33+5aobgxeKLJRLQQfeciO7BbW5vXCUMzPoU6w=="
4848
},
4949
"google.genai": {
5050
"type": "Project",
5151
"dependencies": {
5252
"Google.Apis.Auth": "[1.69.0, )",
53-
"Microsoft.Extensions.AI.Abstractions": "[10.4.0, )",
53+
"Microsoft.Extensions.AI.Abstractions": "[10.5.1, )",
5454
"MimeTypes": "[2.5.2, )"
5555
}
5656
},
@@ -67,11 +67,11 @@
6767
},
6868
"Microsoft.Extensions.AI.Abstractions": {
6969
"type": "CentralTransitive",
70-
"requested": "[10.4.0, )",
71-
"resolved": "10.4.0",
72-
"contentHash": "t3S2H4do4YeNheIfE3GEl3MnKIrnxpbLu7a88spfApYR3in9ddhIq/GMtxgMaFjn/PUMTCFv5YH7Y6Q91dsDXQ==",
70+
"requested": "[10.5.1, )",
71+
"resolved": "10.5.1",
72+
"contentHash": "nB0l3IlsVbNeUxsE7nZNb9GY8rP1OSeqpj0pseORPejt474HNKEauTWTLdSJPkSvPlRMxowZNMo6nyp7APAiSg==",
7373
"dependencies": {
74-
"System.Text.Json": "10.0.4"
74+
"System.Text.Json": "10.0.6"
7575
}
7676
},
7777
"MimeTypes": {
@@ -82,12 +82,12 @@
8282
},
8383
"System.Text.Json": {
8484
"type": "CentralTransitive",
85-
"requested": "[10.0.4, )",
86-
"resolved": "10.0.4",
87-
"contentHash": "1tRPRt8D/kzjGL7em1uJ3iJlvVIC3G/sZJ+ZgSvtVYLXGGO26Clkqy2b5uts/pyR706Yw8/xA7exeI2PI50dpw==",
85+
"requested": "[10.0.6, )",
86+
"resolved": "10.0.6",
87+
"contentHash": "eU/JSsGWpQPE+rkBJjFjsmtaPsu1kCLqFYeW3NS715+z/dP2/BsCl6R7BFGcjhg+rm5WHblllC3p7QS+sS3HtA==",
8888
"dependencies": {
89-
"System.IO.Pipelines": "10.0.4",
90-
"System.Text.Encodings.Web": "10.0.4"
89+
"System.IO.Pipelines": "10.0.6",
90+
"System.Text.Encodings.Web": "10.0.6"
9191
}
9292
}
9393
}

DemoApp/LiveAudioToAudioRealtimeInput/packages.lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"System.IO.Pipelines": {
3232
"type": "Transitive",
33-
"resolved": "10.0.4",
34-
"contentHash": "V7+RO17s/tzCpgqyj6t5vb54HFCvrRaMEwTcKDwpoQK66DRROzSff6kqtzHyiWRj6hrQQUmW80NL4pFSNhYpYA=="
33+
"resolved": "10.0.6",
34+
"contentHash": "98dV8iAMdOzlB7iZ8OOJ3Wj/LNMV+x2c0DCM4EyFEz/kEVmB1+49HwnocY703amF2BguoZZXk4t3lPSfbcHOgA=="
3535
},
3636
"System.Management": {
3737
"type": "Transitive",
@@ -43,14 +43,14 @@
4343
},
4444
"System.Text.Encodings.Web": {
4545
"type": "Transitive",
46-
"resolved": "10.0.4",
47-
"contentHash": "6g3B7jNsPRNf4luuYt1qE4R8S3JI+zMsfGWL9Idv4Mk1Z9Gh+rCagp9sG3AejPS87yBj1DjopM4i3wSz0WnEqg=="
46+
"resolved": "10.0.6",
47+
"contentHash": "o7zWD39jHesxpHyMSWAf+CjM+NaEIV49IJ8tasAsnaVkRcLP33+5aobgxeKLJRLQQfeciO7BbW5vXCUMzPoU6w=="
4848
},
4949
"google.genai": {
5050
"type": "Project",
5151
"dependencies": {
5252
"Google.Apis.Auth": "[1.69.0, )",
53-
"Microsoft.Extensions.AI.Abstractions": "[10.4.0, )",
53+
"Microsoft.Extensions.AI.Abstractions": "[10.5.1, )",
5454
"MimeTypes": "[2.5.2, )"
5555
}
5656
},
@@ -67,11 +67,11 @@
6767
},
6868
"Microsoft.Extensions.AI.Abstractions": {
6969
"type": "CentralTransitive",
70-
"requested": "[10.4.0, )",
71-
"resolved": "10.4.0",
72-
"contentHash": "t3S2H4do4YeNheIfE3GEl3MnKIrnxpbLu7a88spfApYR3in9ddhIq/GMtxgMaFjn/PUMTCFv5YH7Y6Q91dsDXQ==",
70+
"requested": "[10.5.1, )",
71+
"resolved": "10.5.1",
72+
"contentHash": "nB0l3IlsVbNeUxsE7nZNb9GY8rP1OSeqpj0pseORPejt474HNKEauTWTLdSJPkSvPlRMxowZNMo6nyp7APAiSg==",
7373
"dependencies": {
74-
"System.Text.Json": "10.0.4"
74+
"System.Text.Json": "10.0.6"
7575
}
7676
},
7777
"MimeTypes": {
@@ -82,12 +82,12 @@
8282
},
8383
"System.Text.Json": {
8484
"type": "CentralTransitive",
85-
"requested": "[10.0.4, )",
86-
"resolved": "10.0.4",
87-
"contentHash": "1tRPRt8D/kzjGL7em1uJ3iJlvVIC3G/sZJ+ZgSvtVYLXGGO26Clkqy2b5uts/pyR706Yw8/xA7exeI2PI50dpw==",
85+
"requested": "[10.0.6, )",
86+
"resolved": "10.0.6",
87+
"contentHash": "eU/JSsGWpQPE+rkBJjFjsmtaPsu1kCLqFYeW3NS715+z/dP2/BsCl6R7BFGcjhg+rm5WHblllC3p7QS+sS3HtA==",
8888
"dependencies": {
89-
"System.IO.Pipelines": "10.0.4",
90-
"System.Text.Encodings.Web": "10.0.4"
89+
"System.IO.Pipelines": "10.0.6",
90+
"System.Text.Encodings.Web": "10.0.6"
9191
}
9292
}
9393
}

DemoApp/LiveTextToTextClientContent/packages.lock.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
},
3131
"System.IO.Pipelines": {
3232
"type": "Transitive",
33-
"resolved": "10.0.4",
34-
"contentHash": "V7+RO17s/tzCpgqyj6t5vb54HFCvrRaMEwTcKDwpoQK66DRROzSff6kqtzHyiWRj6hrQQUmW80NL4pFSNhYpYA=="
33+
"resolved": "10.0.6",
34+
"contentHash": "98dV8iAMdOzlB7iZ8OOJ3Wj/LNMV+x2c0DCM4EyFEz/kEVmB1+49HwnocY703amF2BguoZZXk4t3lPSfbcHOgA=="
3535
},
3636
"System.Management": {
3737
"type": "Transitive",
@@ -43,14 +43,14 @@
4343
},
4444
"System.Text.Encodings.Web": {
4545
"type": "Transitive",
46-
"resolved": "10.0.4",
47-
"contentHash": "6g3B7jNsPRNf4luuYt1qE4R8S3JI+zMsfGWL9Idv4Mk1Z9Gh+rCagp9sG3AejPS87yBj1DjopM4i3wSz0WnEqg=="
46+
"resolved": "10.0.6",
47+
"contentHash": "o7zWD39jHesxpHyMSWAf+CjM+NaEIV49IJ8tasAsnaVkRcLP33+5aobgxeKLJRLQQfeciO7BbW5vXCUMzPoU6w=="
4848
},
4949
"google.genai": {
5050
"type": "Project",
5151
"dependencies": {
5252
"Google.Apis.Auth": "[1.69.0, )",
53-
"Microsoft.Extensions.AI.Abstractions": "[10.4.0, )",
53+
"Microsoft.Extensions.AI.Abstractions": "[10.5.1, )",
5454
"MimeTypes": "[2.5.2, )"
5555
}
5656
},
@@ -67,11 +67,11 @@
6767
},
6868
"Microsoft.Extensions.AI.Abstractions": {
6969
"type": "CentralTransitive",
70-
"requested": "[10.4.0, )",
71-
"resolved": "10.4.0",
72-
"contentHash": "t3S2H4do4YeNheIfE3GEl3MnKIrnxpbLu7a88spfApYR3in9ddhIq/GMtxgMaFjn/PUMTCFv5YH7Y6Q91dsDXQ==",
70+
"requested": "[10.5.1, )",
71+
"resolved": "10.5.1",
72+
"contentHash": "nB0l3IlsVbNeUxsE7nZNb9GY8rP1OSeqpj0pseORPejt474HNKEauTWTLdSJPkSvPlRMxowZNMo6nyp7APAiSg==",
7373
"dependencies": {
74-
"System.Text.Json": "10.0.4"
74+
"System.Text.Json": "10.0.6"
7575
}
7676
},
7777
"MimeTypes": {
@@ -82,12 +82,12 @@
8282
},
8383
"System.Text.Json": {
8484
"type": "CentralTransitive",
85-
"requested": "[10.0.4, )",
86-
"resolved": "10.0.4",
87-
"contentHash": "1tRPRt8D/kzjGL7em1uJ3iJlvVIC3G/sZJ+ZgSvtVYLXGGO26Clkqy2b5uts/pyR706Yw8/xA7exeI2PI50dpw==",
85+
"requested": "[10.0.6, )",
86+
"resolved": "10.0.6",
87+
"contentHash": "eU/JSsGWpQPE+rkBJjFjsmtaPsu1kCLqFYeW3NS715+z/dP2/BsCl6R7BFGcjhg+rm5WHblllC3p7QS+sS3HtA==",
8888
"dependencies": {
89-
"System.IO.Pipelines": "10.0.4",
90-
"System.Text.Encodings.Web": "10.0.4"
89+
"System.IO.Pipelines": "10.0.6",
90+
"System.Text.Encodings.Web": "10.0.6"
9191
}
9292
}
9393
}

0 commit comments

Comments
 (0)