mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
feature-nvdia-nim-python
3916
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
62417d833e |
.Net: Bump xunit.runner.visualstudio from 3.0.0 to 3.0.1 in /dotnet (#10311)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 3.0.0 to 3.0.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/f8675c32e51818b13f1314569ec35b62246999c3"><code>f8675c3</code></a> v3.0.1</li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/b7d67bac0f6616a5ba3594f5d365f0c858424172"><code>b7d67ba</code></a> Missed passing an argument</li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/8cbe1c39a625685c65f2f4bf50b406c3ee60bbf3"><code>8cbe1c3</code></a> Restore VisualStudioSourceInformationProvider for <a href="https://redirect.github.com/xunit/visualstudio.xunit/issues/433">#433</a></li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/d71328f59375d09e5e5ced6e82909146793250a1"><code>d71328f</code></a> Updated xunit.runner.json schema URL</li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/a320aa3caf4f854fbc300a9a7cac2bf2a7d02a97"><code>a320aa3</code></a> Latest dependencies (to fix <a href="https://redirect.github.com/xunit/visualstudio.xunit/issues/432">#432</a>)</li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/5382a589cd50dee962e3690330dea96808c761f9"><code>5382a58</code></a> Move SpyLoggerHelper into the global namespace</li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/8f3a5861cf95b76519998d9f9703ff4ade59f092"><code>8f3a586</code></a> <a href="https://redirect.github.com/xunit/visualstudio.xunit/issues/431">#431</a>: ValueTask defined in xunit.runner.visualstudio causing conflict</li> <li><a href="https://github.com/xunit/visualstudio.xunit/commit/0a250fc23147fe9f64d6b4dc61a46685429ee1bf"><code>0a250fc</code></a> Bump up to 3.0.1-pre</li> <li>See full diff in <a href="https://github.com/xunit/visualstudio.xunit/compare/3.0.0...3.0.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
015f560b50 |
.Net: Bump Azure.Identity, Microsoft.Identity.Client and System.Text.Json in /dotnet (#10312)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net), [Microsoft.Identity.Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet) and [System.Text.Json](https://github.com/dotnet/runtime). These dependencies needed to be updated together. Updates `Azure.Identity` from 1.13.1 to 1.13.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-sdk-for-net/releases">Azure.Identity's releases</a>.</em></p> <blockquote> <h2>Azure.Identity_1.13.2</h2> <h2>1.13.2 (2025-01-14)</h2> <h3>Bugs Fixed</h3> <ul> <li>Fixed an issue where setting <code>DefaultAzureCredentialOptions.TenantId</code> twice throws an <code>InvalidOperationException</code> (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47035">#47035</a>)</li> <li>Fixed an issue where <code>ManagedIdentityCredential</code> does not honor the <code>CancellationToken</code> passed to <code>GetToken</code> and <code>GetTokenAsync</code>. (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47156">#47156</a>)</li> <li>Fixed an issue where some credentials in <code>DefaultAzureCredential</code> would not fall through to the next credential in the chain under certain exception conditions.</li> <li>Fixed a regression in <code>ManagedIdentityCredential</code> when used in a <code>ChainedTokenCredential</code> where the invalid json responses do not fall through to the next credential in the chain. (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47470">#47470</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/a5c44c28f534f0eddb371f4bd7c5136d899fbc68"><code>a5c44c2</code></a> [Storage][DataMovement] More GA API feedback (renames/refactors) (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47796">#47796</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/23c0c85f25667826b85ed03242721b6e818ca2bf"><code>23c0c85</code></a> Prepare Identity for release with bugfix (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47753">#47753</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/fffdf45ec74c9dd8c87316022a5f57b8fc01c70d"><code>fffdf45</code></a> datamovement migration guide skeleton (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47818">#47818</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/0bb67b811f9ec017738330e3c86d5b6fee00e55d"><code>0bb67b8</code></a> Increment package version after release of Azure.Data.Tables (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47831">#47831</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/e1a01635a2c5c5129ede88083709d5d163df48fe"><code>e1a0163</code></a> Permissions docs (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47793">#47793</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/0d0752b468acc5436d82acbee1cea35027bf5da2"><code>0d0752b</code></a> [CODEOWNERS] Remove invalid owner (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47820">#47820</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/9de236f397482830bd792d9af2a1d93821b87b79"><code>9de236f</code></a> [Storage] [DataMovement] [Archboard feedback] Renamed *CheckpointData to *Che...</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/9d19f278ed2c3a3a52d2312c14e6ab20fada004f"><code>9d19f27</code></a> Fix typo in CertificatePolicy.KeySize documentation (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47794">#47794</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/8992dc64edcedebcbde48e33f376d8489e4a8d19"><code>8992dc6</code></a> Generating confidentialledger SDK for API spec version 2024-01-26-pre… (<a href="https://redirect.github.com/Azure/azure-sdk-for-net/issues/47340">#47340</a>)</li> <li><a href="https://github.com/Azure/azure-sdk-for-net/commit/21554c4a69f46455e1ca6af6373189881dd7fd3b"><code>21554c4</code></a> Add detection for empty string in the return value of createdByPrincipalTenan...</li> <li>Additional commits viewable in <a href="https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.13.1...Azure.Identity_1.13.2">compare view</a></li> </ul> </details> <br /> Updates `Microsoft.Identity.Client` from 4.66.2 to 4.67.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases">Microsoft.Identity.Client's releases</a>.</em></p> <blockquote> <h2>4.67.2</h2> <h3>Bug Fixes</h3> <ul> <li>Fixed an issue with Managed Identity source detection where Azure ML was prioritized incorrectly over Azure App Service, causing token acquisition failures. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5077">#5077</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5077">AzureAD/microsoft-authentication-library-for-dotnet#5077</a>)</li> </ul> <h2>4.67.1</h2> <h3>Bug Fixes</h3> <ul> <li>Added support for Azure Machine Learning (Azure ML) Managed Identity (MSI) to address missing functionality for token acquisition in Azure Machine Learning environments. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4984">#4984</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4984">AzureAD/microsoft-authentication-library-for-dotnet#4984</a>)</li> </ul> <h2>4.67.0</h2> <h3>New Features</h3> <ul> <li>MSAL.NET now supports acquiring token for Client Credentials flow with a Subject Name Issuer (SNI) certificate over Mutual TLS (mTLS) for first-party applications. See [Issue <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4986">#4986</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4986">AzureAD/microsoft-authentication-library-for-dotnet#4986</a>)</li> <li>Bumped NET SDK from net6 to net8, aligning MSAL.NET with the latest .NET standards and features. See [Feature Request <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5025">#5025</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5025">AzureAD/microsoft-authentication-library-for-dotnet#5025</a>)</li> <li>Public API analyzer integrated to enhance API compliance and stability. See [Feature Request <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4931">#4931</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4931">AzureAD/microsoft-authentication-library-for-dotnet#4931</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Improved AcquireTokenSilent logging and handling of Family of Client IDs (FOCI). See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4988">#4988</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4988">AzureAD/microsoft-authentication-library-for-dotnet#4988</a>)</li> <li>Fixed issues where DurationTotalInMs in <code>AuthenticationResultMetadata</code> differed from Stopwatch measurements. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4895">#4895</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4895">AzureAD/microsoft-authentication-library-for-dotnet#4895</a>)</li> <li>Resolved incorrect computation of OTel durations in L1 cache and during the creation of POP tokens. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5036">#5036</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5036">AzureAD/microsoft-authentication-library-for-dotnet#5036</a>)</li> <li>Addressed an issue where <code>AbstractAcquireTokenParameterBuilder<T>.WithAdfsAuthority</code> threw exceptions when the tenant ID was null and the authority host URI ended in /adfs. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4860">#4860</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4860">AzureAD/microsoft-authentication-library-for-dotnet#4860</a>)</li> <li>Fixed a parsing issue in Managed Identity to align with Azure.Identity's behavior for handling invalid JSON responses. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5016">#5016</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5016">AzureAD/microsoft-authentication-library-for-dotnet#5016</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>Removed MSAL v3 migration aids. See [Remove <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4987">#4987</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4987">AzureAD/microsoft-authentication-library-for-dotnet#4987</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/main/CHANGELOG.md">Microsoft.Identity.Client's changelog</a>.</em></p> <blockquote> <h1>4.67.2</h1> <h3>Bug Fixes</h3> <ul> <li>Fixed an issue with Managed Identity source detection where Azure ML was prioritized incorrectly over Azure App Service, causing token acquisition failures. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5077">#5077</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5077">AzureAD/microsoft-authentication-library-for-dotnet#5077</a>)</li> </ul> <h1>4.67.1</h1> <h3>Bug Fixes</h3> <ul> <li>Added support for Azure Machine Learning (Azure ML) Managed Identity (MSI) to address missing functionality for token acquisition in Azure Machine Learning environments. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4984">#4984</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4984">AzureAD/microsoft-authentication-library-for-dotnet#4984</a>)</li> </ul> <h1>4.67.0</h1> <h3>New Features</h3> <ul> <li>MSAL.NET now supports acquiring token for Client Credentials flow with a Subject Name Issuer (SNI) certificate over Mutual TLS (mTLS) for first-party applications. See [Issue <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4986">#4986</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4986">AzureAD/microsoft-authentication-library-for-dotnet#4986</a>)</li> <li>Bumped NET SDK from net6 to net8, aligning MSAL.NET with the latest .NET standards and features. See [Feature Request <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5025">#5025</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5025">AzureAD/microsoft-authentication-library-for-dotnet#5025</a>)</li> <li>Public API analyzer integrated to enhance API compliance and stability. See [Feature Request <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4931">#4931</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4931">AzureAD/microsoft-authentication-library-for-dotnet#4931</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>Improved AcquireTokenSilent logging and handling of Family of Client IDs (FOCI). See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4988">#4988</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4988">AzureAD/microsoft-authentication-library-for-dotnet#4988</a>)</li> <li>Fixed issues where DurationTotalInMs in <code>AuthenticationResultMetadata</code> differed from Stopwatch measurements. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4895">#4895</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4895">AzureAD/microsoft-authentication-library-for-dotnet#4895</a>)</li> <li>Resolved incorrect computation of OTel durations in L1 cache and during the creation of POP tokens. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5036">#5036</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5036">AzureAD/microsoft-authentication-library-for-dotnet#5036</a>)</li> <li>Addressed an issue where <code>AbstractAcquireTokenParameterBuilder<T>.WithAdfsAuthority</code> threw exceptions when the tenant ID was null and the authority host URI ended in /adfs. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4860">#4860</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4860">AzureAD/microsoft-authentication-library-for-dotnet#4860</a>)</li> <li>Fixed a parsing issue in Managed Identity to align with Azure.Identity's behavior for handling invalid JSON responses. See [Bug <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5016">#5016</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5016">AzureAD/microsoft-authentication-library-for-dotnet#5016</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>Removed MSAL v3 migration aids. See [Remove <a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4987">#4987</a>](<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4987">AzureAD/microsoft-authentication-library-for-dotnet#4987</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/fd5f0ba40a43c2d30ca26f7be31898b18ccd8cb9"><code>fd5f0ba</code></a> Update CHANGELOG.md for MSAL 4.67.2 (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5081">#5081</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/e22ca8a2d8b37232f6878782746e76d0f9d9ad50"><code>e22ca8a</code></a> Reordered the condition for ManagedIdentitySource.MachineLearning to be check...</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/b1d19e06c70680a11e6aef21a0e2fa227519a71a"><code>b1d19e0</code></a> Disable MTLS Pop tests (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5078">#5078</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/dbf2e077eed1804f0771ba3a578541d501e1005c"><code>dbf2e07</code></a> Disable OB Test Code Coverage (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5072">#5072</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/90e8fc9ca96ce954f34bf9405e8548a170327080"><code>90e8fc9</code></a> Removed the step to execute <code>InstallAndroid.ps1</code> from the CI pipeline (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5066">#5066</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/c30e9c6e9c0198506ff74081e6771c6682326885"><code>c30e9c6</code></a> Updates to Public API (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5071">#5071</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/1e9d3b1ad55240d675e9ab166b753a0325b20841"><code>1e9d3b1</code></a> Update CHANGELOG.md for MSAL 4.67.1 (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5070">#5070</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/03f4b6dda24a9bc9a1b08677625923b45601928c"><code>03f4b6d</code></a> Add ML MSI Source (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5053">#5053</a>)</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/1dc9597d7e48db8ab2a77f98b7b4f2c1afa24da8"><code>1dc9597</code></a> Moving constants and methods between the shipped and unshipped API files acro...</li> <li><a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/0c2483ca53d8636f9a03f9cda7231cdea4867ddf"><code>0c2483c</code></a> Update CHANGELOG.md (<a href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/5044">#5044</a>)</li> <li>Additional commits viewable in <a href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/compare/4.66.2...4.67.2">compare view</a></li> </ul> </details> <br /> Updates `System.Text.Json` from 8.0.5 to 6.0.10 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dotnet/runtime/commit/5a400c212afdf8e675c9a1d38442e6d2f19f7b74"><code>5a400c2</code></a> Update dependencies from <a href="https://github.com/dotnet/emsdk">https://github.com/dotnet/emsdk</a> build 20220914.2 (<a href="https://redirect.github.com/dotnet/runtime/issues/7">#7</a>...</li> <li><a href="https://github.com/dotnet/runtime/commit/af642462178b2be02f628f58ee388cb335cf91d8"><code>af64246</code></a> Add RID for alpine-3.17 + alpine-{x86,s390x} (backports <a href="https://redirect.github.com/dotnet/runtime/issues/75396">#75396</a>) (<a href="https://redirect.github.com/dotnet/runtime/issues/75530">#75530</a>)</li> <li><a href="https://github.com/dotnet/runtime/commit/996dec0c5c63825c7dc5a4e9343795ba18f87e6c"><code>996dec0</code></a> Update dependencies from <a href="https://github.com/dotnet/arcade">https://github.com/dotnet/arcade</a> build 20220913.7 (#...</li> <li><a href="https://github.com/dotnet/runtime/commit/ed9b14c420ce698117b285ab8c55f8126ff3babd"><code>ed9b14c</code></a> [release/6.0] Add signing infrastructure for diagnostic binaries (<a href="https://redirect.github.com/dotnet/runtime/issues/74330">#74330</a>)</li> <li><a href="https://github.com/dotnet/runtime/commit/38e60d8f189e339da0086324e2e26c52d464058d"><code>38e60d8</code></a> Fix build for musl 1.2.3 (backports <a href="https://redirect.github.com/dotnet/runtime/issues/67772">#67772</a>) (<a href="https://redirect.github.com/dotnet/runtime/issues/75529">#75529</a>)</li> <li><a href="https://github.com/dotnet/runtime/commit/ed73907f776a9395d670a31fa24af885edfb72d8"><code>ed73907</code></a> Pass resource items for VS generated authoring (<a href="https://redirect.github.com/dotnet/runtime/issues/75454">#75454</a>)</li> <li><a href="https://github.com/dotnet/runtime/commit/388cc787c20ed441dc8ce7836da658c1c66a48b8"><code>388cc78</code></a> Add armv8l virtualized 32-bit ARM core detection (backports <a href="https://redirect.github.com/dotnet/runtime/issues/66477">#66477</a>) (<a href="https://redirect.github.com/dotnet/runtime/issues/75528">#75528</a>)</li> <li><a href="https://github.com/dotnet/runtime/commit/8770e0e317d207b37cfcc90fb5f579878bd03e6a"><code>8770e0e</code></a> Add CMAKE ASM workaround for newer clang (backport of <a href="https://redirect.github.com/dotnet/runtime/issues/74696">#74696</a>) (<a href="https://redirect.github.com/dotnet/runtime/issues/75526">#75526</a>)</li> <li><a href="https://github.com/dotnet/runtime/commit/5247c8f3506d2b6b64f403e4775b4c248739b2da"><code>5247c8f</code></a> Merge in 'release/6.0' changes</li> <li><a href="https://github.com/dotnet/runtime/commit/7e31494b38d0078e51a9a12d4f18f642ed6cbc93"><code>7e31494</code></a> Add reference assembly for System.Private.CoreLib.dll (<a href="https://redirect.github.com/dotnet/runtime/issues/75311">#75311</a>)</li> <li>Additional commits viewable in <a href="https://github.com/dotnet/runtime/compare/v8.0.5...v6.0.10">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
c69d55cbca |
.Net: Bump Moq.Analyzers from 0.1.2 to 0.3.0 in /dotnet (#10315)
Bumps [Moq.Analyzers](https://github.com/rjmurillo/moq.analyzers) from 0.1.2 to 0.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rjmurillo/moq.analyzers/releases">Moq.Analyzers's releases</a>.</em></p> <blockquote> <h2>v0.3.0</h2> <p>Moq.Analyzers v0.3.0 🎄</p> <p>Holidays are coming and it's time for the last release of the year! 🎉</p> <p>There's a lot that has gone into this release, mostly housekeeping and bug fixes that are transparent to you. However, there are two new diagnostics included in this release.</p> <p>This will be the last release until we move to <strong>v1.0.0</strong></p> <h2>Analyzer Behavior Changes</h2> <ul> <li>Remove false positive for Moq1200 when using parameterized lambda by <a href="https://github.com/rjmurillo"><code>@rjmurillo</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/301">rjmurillo/moq.analyzers#301</a></li> <li>Add new rule to enforce MockBehavior.Strict (Moq1410) by <a href="https://github.com/rjmurillo"><code>@rjmurillo</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/302">rjmurillo/moq.analyzers#302</a></li> </ul> <h2>What's Changed</h2> <ul> <li>Bump Nerdbank.GitVersioning from 3.6.143 to 3.6.146 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/232">rjmurillo/moq.analyzers#232</a></li> <li>Bump Microsoft.Diagnostics.Tracing.TraceEvent from 3.1.15 to 3.1.16 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/228">rjmurillo/moq.analyzers#228</a></li> <li>Add IOperation to DiagnosticExtensions and clean up overloads by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/233">rjmurillo/moq.analyzers#233</a></li> <li>Bump nbgv from 3.6.143 to 3.6.146 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/230">rjmurillo/moq.analyzers#230</a></li> <li>Bump Meziantou.Analyzer from 2.0.169 to 2.0.173 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/231">rjmurillo/moq.analyzers#231</a></li> <li>Create a shared Common .projitems by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/235">rjmurillo/moq.analyzers#235</a></li> <li>Remove ECS0200 suppression and update WellKnownTypes to not trigger ECS0600 by <a href="https://github.com/rjmurillo"><code>@rjmurillo</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/236">rjmurillo/moq.analyzers#236</a></li> <li>Add BannedApiAnalyzer and ban direct use of Diagnostic.Create by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/239">rjmurillo/moq.analyzers#239</a></li> <li>Add *.props and *.targets to XML section of .editorconfig template by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/240">rjmurillo/moq.analyzers#240</a></li> <li>Bump Meziantou.Analyzer from 2.0.173 to 2.0.175 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/237">rjmurillo/moq.analyzers#237</a></li> <li>Remove dead suppressions and dead code by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/242">rjmurillo/moq.analyzers#242</a></li> <li>Add rule suppression docs to README and each rule by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/241">rjmurillo/moq.analyzers#241</a></li> <li>Bump Meziantou.Analyzer from 2.0.175 to 2.0.176 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/243">rjmurillo/moq.analyzers#243</a></li> <li>Disable SquiggleCop for PerfDiff by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/244">rjmurillo/moq.analyzers#244</a></li> <li>Bump Roslynator.Analyzers from 4.12.8 to 4.12.9 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/246">rjmurillo/moq.analyzers#246</a></li> <li>Bump Verify.Xunit from 27.0.1 to 27.1.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/247">rjmurillo/moq.analyzers#247</a></li> <li>Use WellKnownTypeProvider + KnownSymbols pattern to simplify analyzers by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/245">rjmurillo/moq.analyzers#245</a></li> <li>Bump Polyfill from 7.1.2 to 7.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/248">rjmurillo/moq.analyzers#248</a></li> <li>Bump Verify.Xunit from 27.1.0 to 28.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/251">rjmurillo/moq.analyzers#251</a></li> <li>Bump Meziantou.Analyzer from 2.0.176 to 2.0.177 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/249">rjmurillo/moq.analyzers#249</a></li> <li>Bump Verify.Xunit from 28.0.0 to 28.1.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/253">rjmurillo/moq.analyzers#253</a></li> <li>Bump Polyfill from 7.2.0 to 7.4.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/256">rjmurillo/moq.analyzers#256</a></li> <li>Bump EffectiveCSharp.Analyzers from 0.1.0 to 0.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/250">rjmurillo/moq.analyzers#250</a></li> <li>Bump Verify.Xunit from 28.1.3 to 28.2.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/257">rjmurillo/moq.analyzers#257</a></li> <li>Update global.json to SDK 9 by <a href="https://github.com/rjmurillo"><code>@rjmurillo</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/263">rjmurillo/moq.analyzers#263</a></li> <li>Bump Meziantou.Analyzer from 2.0.177 to 2.0.179 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/262">rjmurillo/moq.analyzers#262</a></li> <li>Bump ReportGenerator from 5.3.11 to 5.4.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/264">rjmurillo/moq.analyzers#264</a></li> <li>Bump Verify.Xunit from 28.2.0 to 28.3.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/265">rjmurillo/moq.analyzers#265</a></li> <li>Remove forced lf in .editorconfig by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/271">rjmurillo/moq.analyzers#271</a></li> <li>Reduce severity of S3267: Loops should be simplified with "LINQ" expressions by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/272">rjmurillo/moq.analyzers#272</a></li> <li>Bump GetPackFromProject to fix race in .NET 9 SDK by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/274">rjmurillo/moq.analyzers#274</a></li> <li>Bump Polyfill from 7.4.0 to 7.5.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/270">rjmurillo/moq.analyzers#270</a></li> <li>Move "upload binlogs" CI step earlier in pipeline and run even if failed by <a href="https://github.com/MattKotsenas"><code>@MattKotsenas</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/273">rjmurillo/moq.analyzers#273</a></li> <li>Bump Verify.Xunit from 28.3.0 to 28.3.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/269">rjmurillo/moq.analyzers#269</a></li> <li>Bump Microsoft.CodeAnalysis.BannedApiAnalyzers from 3.11.0-beta1.24454.1 to 3.11.0-beta1.24508.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/rjmurillo/moq.analyzers/pull/268">rjmurillo/moq.analyzers#268</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/5b00626d0d701d455cb5af19f3bf62d09c40f624"><code>5b00626</code></a> Update version.json to be 0.3.0 stable</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/00c7e900e6c28a14d22df77813159fda5ef28ca7"><code>00c7e90</code></a> Update version spec</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/5f4914b9ed3f81a63fb2bd206cff36447b68266f"><code>5f4914b</code></a> Add AnalyzerUtilities to NuGet package (<a href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/326">#326</a>)</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/fc3aac22eb37cbcef24a8ef369b011b6e0c60f10"><code>fc3aac2</code></a> Add new rules since 0.2.0 to front page README.md</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/10b3bdfb5573f9891524816d4d6bcb85a68148d4"><code>10b3bdf</code></a> Fix duplicate header on Moq1410.md</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/0544d362e3be1d6c86f9c11eec03e370303c1619"><code>0544d36</code></a> Update shipping rules for 0.3.0</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/d3dfc5d555ab22245a377f6459dd34b51885221b"><code>d3dfc5d</code></a> Update version.json to proper spec</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/e224052245c79486ecb13ab5b69841f2bd80cfb7"><code>e224052</code></a> Set version to '0.3.0-v0.3.0-alpha'</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/93e2f6ccbdd4126aa73a4e02fd02628706c71818"><code>93e2f6c</code></a> Add new rule to enforce MockBehavior.Strict (Moq1410) (<a href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/302">#302</a>)</li> <li><a href="https://github.com/rjmurillo/moq.analyzers/commit/4cf69db852253d78d1177ef4eb675f001f0c180c"><code>4cf69db</code></a> Remove false positive for Moq1200 when using parameterized lambda (<a href="https://redirect.github.com/rjmurillo/moq.analyzers/issues/301">#301</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rjmurillo/moq.analyzers/compare/v0.1.2...v0.3.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dmytro Struk <[email protected]> |
||
|
|
07db439f92 |
.Net: Bump Testcontainers.Milvus from 4.0.0 to 4.1.0 in /dotnet (#10314)
Bumps [Testcontainers.Milvus](https://github.com/testcontainers/testcontainers-dotnet) from 4.0.0 to 4.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/testcontainers/testcontainers-dotnet/releases">Testcontainers.Milvus's releases</a>.</em></p> <blockquote> <h2>4.1.0</h2> <h1>What's Changed</h1> <p>This is likely the last release for this year, unless urgent fixes become necessary.</p> <p>I want to mention a change introduced in the last major release, where we refactored the <code>IImage</code> interface. As part of this update, we removed obsolete properties and overloaded constructors. If you previously used an overload other than <code>DockerImage(string)</code>, please ensure you pass the correct values to the constructor.</p> <p>Additionally, we replaced <a href="https://github.com/testcontainers/Docker.DotNet">Docker.DotNet</a> with our own fork to keep the Docker Engine API up to date. Our goal is to improve reliability and performance while offering a more developer-friendly and convenient client. If you depend on a Docker client for .NET, we encourage you to contribute to this project ❤️.</p> <p>On a personal note, I wish everyone a peaceful and lovely holiday season. Take this time to rest, connect with loved ones, and recharge for the new year. Take care.</p> <h2>🚀 Features</h2> <ul> <li>feat: Add Azure Service Bus module (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1309">#1309</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>feat: Set ryuk.container.privileged default value to true (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1313">#1313</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>feat: Remove <code>net6.0</code> and add <code>net9.0</code> TFM (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1311">#1311</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>feat: Introduce a new Testcontainers.Xunit package (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1165">#1165</a>) <a href="https://github.com/0xced"><code>@0xced</code></a></li> </ul> <h2>🐛 Bug Fixes</h2> <ul> <li>fix: Postpone exception in <code>DbContainerFixture</code> to match the behavior of <code>ContainerFixture</code> (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1310">#1310</a>) <a href="https://github.com/0xced"><code>@0xced</code></a></li> <li>fix: Do not pre-pull scratch image (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1304">#1304</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>fix: Add HTTP wait strategy to prevent race-condition in WaitUntilHttpRequestIsSucceededTest (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1299">#1299</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>fix: Add HTTP wait strategy to prevent race-condition in TarOutputMemoryStreamTest (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1297">#1297</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>fix: Prepend Docker Hub namespace to repository (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1287">#1287</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> </ul> <h2>📖 Documentation</h2> <ul> <li>docs: Add low level API access (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1300">#1300</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> </ul> <h2>🧹 Housekeeping</h2> <ul> <li>feat: Add Respawn example (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1307">#1307</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>chore: Add test to ensure that all test projects are configured for CI (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1305">#1305</a>) <a href="https://github.com/0xced"><code>@0xced</code></a></li> <li>chore: Run each test project on a separate runner (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1295">#1295</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> <li>chore: Replace Docker.DotNet with the Testcontainers organization's build (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1292">#1292</a>) <a href="https://github.com/HofmeisterAn"><code>@HofmeisterAn</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/0d86bda59ca536bd9108235d22ad06dae03ced53"><code>0d86bda</code></a> fix: Set XunitV3 packable and publishable to false (NU5104)</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/bf182b2a13b46c705a15481f4fc76cb44da04a9f"><code>bf182b2</code></a> fix: Remove Sonar code smells</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/8e0f6d5bd114f6d7a60f99d6c4b261600d44b04d"><code>8e0f6d5</code></a> feat: Add Azure Service Bus module (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1309">#1309</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/5ff4ae107a6bbe20d8523274eed624d58cf09570"><code>5ff4ae1</code></a> feat: Set ryuk.container.privileged default value to true (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1313">#1313</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/e982134dc4694bb403375007c0b2f9f5cfca7764"><code>e982134</code></a> fix: Postpone exception in <code>DbContainerFixture</code> to match the behavior of `Con...</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/1f78b9052851394cff719a214e7ac55213619d1e"><code>1f78b90</code></a> feat: Remove <code>net6.0</code> and add <code>net9.0</code> TFM (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1311">#1311</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/49ef7dcb39e6212deb5809ae5e81eef59328c9dc"><code>49ef7dc</code></a> fix: Remove Sonar code smells</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/1cf48b25e2949c0f5007a97c26fbf22d818149f9"><code>1cf48b2</code></a> feat: Introduce a new Testcontainers.Xunit package (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1165">#1165</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/aa8234d920a199b043abf593e3f8d20933fa3767"><code>aa8234d</code></a> feat: Add Respawn example (<a href="https://redirect.github.com/testcontainers/testcontainers-dotnet/issues/1307">#1307</a>)</li> <li><a href="https://github.com/testcontainers/testcontainers-dotnet/commit/6051cdbd758db2d6e0043cfd93f145da300d5f17"><code>6051cdb</code></a> chore: Add test to ensure that all test projects are configured for CI</li> <li>Additional commits viewable in <a href="https://github.com/testcontainers/testcontainers-dotnet/compare/4.0.0...4.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
1a84cb64b2 |
Python: prompt template config and kernel args support for agents (#10298)
### Motivation and Context To bring the SK Python framework closer to .Net parity, we need to support the ability to specify a prompt template config and kernel arguments for ChatCompletion Agents as well as for Assistant Agents. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR adds support for: - being able to specify a prompt template config for SK agents. - allows kernel arguments to be passed to the agent as well as during invoke - invoke args, similar to other kwargs, take precedence over agent level config. - adds test coverage - creates agent templating samples for both ChatCompletionAgents and OpenAI/AzureAssistantAgents - closes #8022 - closes #8699 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄dotnet-1.34.0-nightly-250127.1 |
||
|
|
2d7a558df4 |
.Net: Agents: Support Azure AI Agent (#10134)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Add support for Azure AI Agents: - https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/ai/Azure.AI.Projects/src/Custom/Agent - https://learn.microsoft.com/en-us/azure/ai-services/agents/ Fixes: https://github.com/microsoft/semantic-kernel/issues/10114 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> - Adds `AzureAIAgent` type in a new project/package - Maintains parity with `OpenAIAssistantAgent` - Supports Azure specific tool offerings ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
b592a4a342 |
.Net: Moved IChatHistoryReducer from Agents to SK packages (#10285)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Resolves: https://github.com/microsoft/semantic-kernel/issues/10203 This PR: - Moves `IChatHistoryReducer` from `Agents.Core` to `Microsoft.SemanticKernel.Abstractions` package. - Moves implementations `ChatHistorySummarizationReducer` and `ChatHistoryTruncationReducer` from `Agents.Core` to `Microsoft.SemanticKernel.Core` package. The functionality is marked as experimental. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
5098ba39a8 |
Python: Improve handling for kernel plugin from file. (#10286)
### Motivation and Context This PR addresses an issue in the `KernelPlugin.from_directory()` method where classes without any `@kernel_function` decorated methods are still being initialized during plugin loading. The fix makes sure that only classes with at least one `@kernel_function` decorated method are instantiated and included as plugins. Classes without `@kernel_function` methods are now skipped entirely. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR: - Updates the `from_python_file` to inspect each class for `@kernel_function` decorated methods before instantiation. - Updates the `add_plugin` method `plugin_name` to make sure it is indeed a string, per the type hint. - Adds a unit test to exercise the new behavior - Closes #10280 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄dotnet-1.34.0-nightly-250126.1 dotnet-1.34.0-nightly-250125.1 dotnet-1.34.0-nightly-250124.1 |
||
|
|
1ce010b9bd |
.Net: Added example for chat completion with data and function calling (#10261)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Resolves: https://github.com/microsoft/semantic-kernel/issues/10179 This PR contains an example which shows how to use Azure OpenAI Chat Completion with data and function calling. **Note:** Data source and function calling are not supported in a single request. Enabling both features will result in the function calling information being ignored and the operation behaving as if only the data source was provided. The provided example shows how to address this limitation. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
2f0ecac852 |
.Net: Improve auto-recovery for Azure{OpenAI} models (#10275)
### Motivation and Context
Every time an AI model calls a function, and that call fails for
whatever reason - hallucinated name, invalid arguments, etc. SK sends
the failure details back to the model to allow it to correct
(auto-recovery) itself and call the function one more time with the
valid name, arguments, etc.
Having tested this auto-recovery mechanism with a few modern
{Azure}OpenAI models, it appeared that it does not work for the
`Gpt-4(0314, 0613)` and `Gpt-4o(2024-08-06)` models. To make it work for
the `Gpt-4o(2024-08-06)` model, the default error message needs to be
extended either with the `Correct yourself` instruction, function name,
or both. This solution is not enough to make the `Gpt-4(0314, 0613)`
model's auto-recovery work, and as shown in the table below, the only
way found so far to make it work is to use prompt engineering:
| Error message/Model | Gpt-4(0314, 0613) | Gpt-4-Turbo(0125-Preview,
1106-Preview) | Gpt-4o mini(2024-07-18) | Gpt-4o(2024-08-06) |
|----------------------------------------|--------------------|-------------------------------------------|---------------------------|---------------------|
| `Error: Function call request for a function that wasn't defined`
default message. | X | ✔️ | ✔️ | X |
| Add `Correct yourself` instruction to the default error message. | X |
✔️ | ✔️ | ✔️ |
| Add function name to the default error message. | X | ✔️ | ✔️ | ✔️ |
| Add function name & `Correct yourself` instruction to the default
error message.| X | ✔️ | ✔️ | ✔️ |
| Use `You can call tools. If a tool call failed, correct yourself.`
system message. | ✔️ | N/A | N/A | X |
The `N/A` in the last row means that there is no need for prompt
engineering because the AI model can auto-recover without it.
### Description
This PR adds the `Correct yourself` option to the default error message
to enable auto-recovery for the `Gpt-4o(2024-08-06)` model.
Additional context: [Function Calling
Reliability](https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0063-function-calling-reliability.md)
Closes: https://github.com/microsoft/semantic-kernel/issues/8472
|
||
|
|
391d1b4b64 | add ai model item | ||
|
|
4d29656780 |
Python: Introduce the chat history reducer (#10190)
### Motivation and Context The SK Python framework has been missing the ability to configure a chat history reducer of type `ChatHistoryTruncationReducer` and `ChatHistorySummarizationReducer` which have existed in the .Net SK Agent framework for some time. The goal of this PR is to introduce the chat history reducers and allow them for use for not only the agent framework, but also anything else that uses a chat history (chat completion, for example). The ChatHistoryReducer extends the ChatHistory class, and so it's simple to include a reducer and logic to reduce messages as one manages the chat history either in an agent framework setting or in a chat completion setting. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR: - Introduces the chat history reducer functionality in Python -- both the `ChatHistoryTruncationReducer` and `ChatHistorySummarizationReducer`. - Add unit tests for code coverage. - Adds a sample `Chat Completion History Reducer` to show how to configure both reducers and what each parameter does. - Add chat completion samples showing how to manage a chat history reducer, including how to specify that function call content and function result content should be part of the summarization payload. - Updates the Agent SelectionStrategy, KernelFunctionSelectionStrategy and KernelFunctionTermination strategy to use the reducer. - Additionally updates the classes above to use a new `select_agent` abstract method so that one can define an initial agent to run in a particular scenario. - Removes the deprecated `FunctionCallBehavior` class, and removes some nasty circular dependencies that we had lurking in the code base for some time. This `FunctionCallBehavior` has been marked with a deprecation warning for 6+ months now. All samples and docs have moved over to use `FunctionChoiceBehavior` - developers using `FunctionCallBehavior` should have had enough time to switch. - Closes #7969 - Closes #10102 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄dotnet-1.34.0-nightly-250123.1 |
||
|
|
e44f70d9d6 |
Python: bug fixes from graphrag insights (#10270)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Based on insights from the graphrag team, several bug fixes related to data and model validators. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> For all cases of model_validator in before mode, there is no guarantee that the data passed is a dict, especially when a model is used as a field in another model, then a string is passed to the before validator. So in those cases we check before doing logic, otherwise just pass it on and let Pydantic handle the invalid data. Some small logic fixes in the vector store model decorator: - updated docstring with the right exceptions - additional checks on attributes - additional checks on VectorFields with tests ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
0cd59f1aa1 | .Net: Updated package version (#10264) dotnet-1.34.0-nightly-250122.5 dotnet-1.34.0 | ||
|
|
e98155ab23 |
.Net: Sanitize function names (#10257)
### Motivation and Context Currently, if an AI model hallucinates a function name (e.g., `bar.foo` instead of the advertised `bar-foo`) that contains disallowed characters (not in the range of `a-zA-Z0-9_-`), SK identifies it as an error case and sends the error back to the model along with the original function call. Given that the original function call contains the disallowed function name, the request to the AI model fails with the error: _Invalid 'messages[6].tool_calls[0].function.name': string does not match pattern. Expected a string that matches the pattern `^[a-zA-Z0-9_-]+$`._ ### Description This PR replaces disallowed characters in function names with an underscore for all function calls before sending them to the AI model. This fix prevents the request to the AI model from failing and allows the model to auto-recover. More context: [Function Calling Reliability ADR](https://github.com/microsoft/semantic-kernel/blob/main/docs/decisions/0063-function-calling-reliability.md#function-calling-reliability) Closes: https://github.com/microsoft/semantic-kernel/issues/9850dotnet-1.33.0-nightly-250122.3 |
||
|
|
ef28a1ef85 |
.Net: Onnx Chinese Characters Fix (#10232)
### Motivation and Context - Resolves #10209  --------- Co-authored-by: Mark Wallace <[email protected]> |
||
|
|
d9adf37e03 |
.Net: Function Calling Reliability ADR (#10248)
The ADR describes issues that decrease function calling reliability and provides several options to improve it. |
||
|
|
6ecfdcfda9 |
Python: Add agent invocation spans (#10255)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Address feature request: https://github.com/microsoft/semantic-kernel/issues/10174 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> This pull request introduces a new decorator for tracing agent invocations and applies it to various methods in the `ChatCompletionAgent` and `OpenAIAssistantAgent` classes. Additionally, it includes new unit tests to ensure the decorator is correctly applied and functions as expected. ### Key Changes: **Decorator Implementation:** * Added a new `trace_agent_invocation` decorator in `python/semantic_kernel/utils/telemetry/agent_diagnostics/decorators.py` to trace agent invocations using OpenTelemetry. **Decorator Application:** * Applied the `trace_agent_invocation` decorator to the `invoke` and `invoke_stream` methods in `ChatCompletionAgent` (`python/semantic_kernel/agents/chat_completion/chat_completion_agent.py`). [[1]](diffhunk://#diff-0f0a27c107368504c4347c88528b7b4234dcead1919005bcae13f5d16d6cf26dR19) [[2]](diffhunk://#diff-0f0a27c107368504c4347c88528b7b4234dcead1919005bcae13f5d16d6cf26dR80) [[3]](diffhunk://#diff-0f0a27c107368504c4347c88528b7b4234dcead1919005bcae13f5d16d6cf26dR134) * Applied the `trace_agent_invocation` decorator to the `invoke` and `invoke_stream` methods in `OpenAIAssistantAgent` (`python/semantic_kernel/agents/open_ai/open_ai_assistant_base.py`). [[1]](diffhunk://#diff-70e75c57136d3a90d045af4b8d59fb8e8101251d7c5126458bb5d9e6c36556a4R46) [[2]](diffhunk://#diff-70e75c57136d3a90d045af4b8d59fb8e8101251d7c5126458bb5d9e6c36556a4R608) [[3]](diffhunk://#diff-70e75c57136d3a90d045af4b8d59fb8e8101251d7c5126458bb5d9e6c36556a4R861) ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Evan Mattson <[email protected]>python-1.19.0 |
||
|
|
b1216a0d9c |
Python: Bump Python version to 1.19.0 for a release. (#10254)
### Motivation and Context Bump Python version to 1.19.0 for a release. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Bump Python version to 1.19.0 for a release. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
3a7f2a3b73 |
Python: Grab function_name from kwargs if present in ProcessStepEdgeBuilder (#10245)
### Motivation and Context In the ProcessStepEdgeBuilder, we allow one to pass in a target of type `"ProcessFunctionTargetBuilder | ProcessStepBuilder"`. If the target `isinstance(target, ProcessStepBuilder)`, we construct the `ProcessFunctionTargetBuilder`. We weren't grabbing the `function_name` from the kwargs if it was presented, resulting in an exception that the function_name needs to be provided because multiple kernel functions exist. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR: - correctly passes in the `function_name` kwargs, if present. - Adds a unit test to exercise functionality <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
6ceba22758 |
Python: improve Makefile uv installation logic (#10246)
### Motivation and Context Today, If a user runs `make install`, and the uv installation is not found, the current flow is to return `exit 1` to force the user to restart their shell. These changes update the Makefile to better handle the case where uv is not installed. The Makefile now uses a “second make invocation” approach with a CONTINUE variable to avoid re-installing uv in the newly spawned shell. If `uv` isn’t found, it installs `uv`, then executes a new shell which immediately calls `make install CONTINUE=1`, allowing the rest of the steps to continue in an environment that now has `uv` on the PATH. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR: - Updates the make file to provide cleaner logic on handling the `make install` when `uv` isn't present. - Closes #9067 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
9f0ee59b5f |
.Net: Refactor shared integration tests to allow attribute based disable. (#10236)
### Description - Moved and renamed pinecone xunit helpers a level up. - Added an attribute to allow all tests with VectorStoreFact / Theory in a class to be disabled, even ones in the base class ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
704fbdf158 |
.Net: Add support for Base64 encoded images in MistralAI (#10180)
### Motivation and Context Closes #10166 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 |
||
|
|
7a61c9caff |
.Net: Bump Microsoft.Azure.Functions.Worker.Extensions.Http from 3.1.0 to 3.2.0 in /dotnet (#10240)
Bumps [Microsoft.Azure.Functions.Worker.Extensions.Http](https://github.com/Azure/azure-functions-dotnet-worker) from 3.1.0 to 3.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Azure/azure-functions-dotnet-worker/releases">Microsoft.Azure.Functions.Worker.Extensions.Http's releases</a>.</em></p> <blockquote> <h3>Microsoft.Azure.Functions.Worker.Extensions.Http 3.2.0</h3> <ul> <li>Introduces the <code>[HttpResult]</code> attribute. When using custom return types for multiple output bindings with ASP.NET Core integration, you must add the <code>[HttpResult]</code> attribute to the property that provides the result. Existing behavior for multiple output bindings scenarios using <code>HttpResponseData</code> is still preserved (and the attribute is not needed in that case).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Azure/azure-functions-dotnet-worker/commits/http-extension-3.2.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: SergeyMenshykh <[email protected]> |
||
|
|
0df5fa8332 |
.Net: Bump Roslynator.Analyzers from 4.11.0 to 4.12.10 in /dotnet (#10241)
Bumps [Roslynator.Analyzers](https://github.com/dotnet/roslynator) from 4.11.0 to 4.12.10. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dotnet/roslynator/releases">Roslynator.Analyzers's releases</a>.</em></p> <blockquote> <h2>v4.12.10</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1213">RCS1213</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1586">PR</a>)</li> <li>Improve code fixer for <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1228">RCS1228</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1585">PR</a>)</li> <li>Fix diagnostic message for <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0032">RCS0032</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1588">PR</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Update whitespace formatting rules (<a href="https://redirect.github.com/dotnet/roslynator/pull/1576">PR</a>)</li> <li>Ensure that diagnostics are not reported with zero length (<a href="https://redirect.github.com/dotnet/roslynator/pull/1590">PR</a>)</li> </ul> <h2>v4.12.9</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1090">RCS1090</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1566">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1124">RCS1124</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1572">PR</a>)</li> <li>[CLI] Fix command <code>generate-doc</code> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1568">PR</a>, <a href="https://redirect.github.com/dotnet/roslynator/pull/1570">PR</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Update analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1077">RCS1077</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1653">PR</a>) <ul> <li>Do not suggest to change <code>list.FirstOrDefault(predicate)</code> to <code>list.Find(predicate)</code>. Performance gain is negligible and actually <code>FirstOrDefault</code> can be even faster on .NET 9 (see related <a href="https://redirect.github.com/dotnet/roslynator/pull/1531">issue</a> for more details).</li> </ul> </li> </ul> <h2>v4.12.8</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0053">RCS0053</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1547">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1223">RCS1223</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1552">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1140">RCS1140</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1554">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1096">RCS1096</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1558">PR</a>)</li> <li>[CLI] Improve removing of unused symbols (<a href="https://redirect.github.com/dotnet/roslynator/pull/1550">PR</a>)</li> <li>[CLI] Fix command <code>generate-doc</code> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1559">PR</a>)</li> </ul> <h2>v4.12.7</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1202">RCS1202</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1542">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1246">RCS1246</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1543">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1140">RCS1140</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1524">PR</a> by <a href="https://github.com/Qluxzz"><code>@Qluxzz</code></a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1077">RCS1077</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1544">PR</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Add support for duck-typed awaitables and task-like types for Task/Async-related analyzers (<a href="https://redirect.github.com/dotnet/roslynator/pull/1535">PR</a> by <a href="https://github.com/Govorunb"><code>@Govorunb</code></a>) <ul> <li>Affects the following analyzers: <ul> <li><a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1046">RCS1046</a></li> <li><a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1047">RCS1047</a></li> <li><a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1090">RCS1090</a></li> </ul> </li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dotnet/roslynator/blob/main/ChangeLog.md">Roslynator.Analyzers's changelog</a>.</em></p> <blockquote> <h2>[4.12.10] - 2024-12-17</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1213">RCS1213</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1586">PR</a>)</li> <li>Improve code fixer for <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1228">RCS1228</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1585">PR</a>)</li> <li>Fix diagnostic message for <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0032">RCS0032</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1588">PR</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Update whitespace formatting rules (<a href="https://redirect.github.com/dotnet/roslynator/pull/1576">PR</a>)</li> <li>Ensure that diagnostics are not reported with zero length (<a href="https://redirect.github.com/dotnet/roslynator/pull/1590">PR</a>)</li> </ul> <h2>[4.12.9] - 2024-10-25</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1090">RCS1090</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1566">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1124">RCS1124</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1572">PR</a>)</li> <li>[CLI] Fix command <code>generate-doc</code> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1568">PR</a>, <a href="https://redirect.github.com/dotnet/roslynator/pull/1570">PR</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Update analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1077">RCS1077</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1653">PR</a>) <ul> <li>Do not suggest to change <code>list.FirstOrDefault(predicate)</code> to <code>list.Find(predicate)</code>. Performance gain is negligible and actually <code>FirstOrDefault</code> can be even faster on .NET 9 (see related <a href="https://redirect.github.com/dotnet/roslynator/pull/1531">issue</a> for more details).</li> </ul> </li> </ul> <h2>[4.12.8] - 2024-10-11</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0053">RCS0053</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1547">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1223">RCS1223</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1552">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1140">RCS1140</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1554">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1096">RCS1096</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1558">PR</a>)</li> <li>[CLI] Improve removing of unused symbols (<a href="https://redirect.github.com/dotnet/roslynator/pull/1550">PR</a>)</li> <li>[CLI] Fix command <code>generate-doc</code> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1559">PR</a>)</li> </ul> <h2>[4.12.7] - 2024-10-01</h2> <h3>Fixed</h3> <ul> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1202">RCS1202</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1542">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1246">RCS1246</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1543">PR</a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1140">RCS1140</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1524">PR</a> by <a href="https://github.com/Qluxzz"><code>@Qluxzz</code></a>)</li> <li>Fix analyzer <a href="https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1077">RCS1077</a> (<a href="https://redirect.github.com/dotnet/roslynator/pull/1544">PR</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Add support for duck-typed awaitables and task-like types for Task/Async-related analyzers (<a href="https://redirect.github.com/dotnet/roslynator/pull/1535">PR</a> by <a href="https://github.com/Govorunb"><code>@Govorunb</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dotnet/roslynator/commit/48fabfbd3331671c15fec30adc39da1053d62bd7"><code>48fabfb</code></a> Release 4.12.10 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1591">#1591</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/96dfb3484e1262abaac0a796daef5f69a01abddb"><code>96dfb34</code></a> Do not report zero length diagnostic (<a href="https://redirect.github.com/dotnet/roslynator/issues/1590">#1590</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/f7ed06f5c33f3adaa3f1f8af371879babec20e85"><code>f7ed06f</code></a> Fix diagnostic message for RCS0032 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1588">#1588</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/9fe4dc065ed146744f0767c0e3518c18f1646c64"><code>9fe4dc0</code></a> Improve fixer for RCS1228 (<a href="https://redirect.github.com/dotnet/roslynator/issues/1585">#1585</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/f15e24447ccf2f1dbc0f2d1652f79fd43530d23c"><code>f15e244</code></a> Add formatting rules (<a href="https://redirect.github.com/dotnet/roslynator/issues/1576">#1576</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/8d47d71144cf6803cde3e2a78c48b15d90490e64"><code>8d47d71</code></a> Fix Unity method detection (<a href="https://redirect.github.com/dotnet/roslynator/issues/1586">#1586</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/6210e73e00316dfa66ee932a9d6d9a01f32e5622"><code>6210e73</code></a> Update donations (<a href="https://redirect.github.com/dotnet/roslynator/issues/1583">#1583</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/0e91017e70450caecb4a5d6acc1dae7845283913"><code>0e91017</code></a> Update donations (<a href="https://redirect.github.com/dotnet/roslynator/issues/1582">#1582</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/25261a3283735e00eeabee0d4262aebd3ce91478"><code>25261a3</code></a> Add contributors to readme (<a href="https://redirect.github.com/dotnet/roslynator/issues/1574">#1574</a>)</li> <li><a href="https://github.com/dotnet/roslynator/commit/32e67d33a875276cce907a19b57c3c84ddd25c20"><code>32e67d3</code></a> Fix changelog</li> <li>Additional commits viewable in <a href="https://github.com/dotnet/roslynator/compare/v4.11.0...v4.12.10">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | Roslynator.Analyzers | [>= 4.5.a, < 4.6] | </details> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: SergeyMenshykh <[email protected]> |
||
|
|
d6f6af6149 |
.Net: OllamaPromptExecutionSettings doesn't have NumPredict property (#10227)
### Motivation and Context `OllamaPromptExecutionSettings` does not have property `NumPredict` that allows to limit maximum allowed tokens to generate <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Proposed change just add missing field to the `OllamaPromptExecutionSettings` and make sure it will be used also within CreateRequest of `OllamaTextGenerationService` related issue: #10226 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> |
||
|
|
b8224edd21 | .Net: Update M.E.AI to 9.1.0-preview.1.25064.3 (#10199) | ||
|
|
a44e80263f |
.Net: Bump coverlet.collector from 6.0.2 to 6.0.4 in /dotnet (#10244)
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.2 to 6.0.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/coverlet-coverage/coverlet/releases">coverlet.collector's releases</a>.</em></p> <blockquote> <h2>v6.0.4</h2> <h3>Fixed</h3> <ul> <li>Fix empty coverage report when using include and exclude filters <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1726">#1726</a></li> </ul> <p><a href="https://github.com/coverlet-coverage/coverlet/compare/v6.0.3...v6.0.4">Diff between 6.0.3 and 6.0.4</a></p> <h2>v6.0.3</h2> <h3>Fixed</h3> <ul> <li>Fix RuntimeConfigurationReader to support self-contained builds <a href="https://redirect.github.com/coverlet-coverage/coverlet/pull/1705">#1705</a> by <a href="https://github.com/pfeigl">https://github.com/pfeigl</a></li> <li>Fix inconsistent filenames with UseSourceLink after .NET 8 <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1679">#1679</a></li> <li>Fix hanging tests <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/989">#989</a></li> <li>Fix coverlet instrumentation becomes slow after installing dotnet sdk 8.0.200 <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1620">#1620</a></li> <li>Fix upgrading v6.0.1 to v6.0.2 increases instrumentation time <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1649">#1649</a></li> <li>Fix Unable to instrument module - NET 8 <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1631">#1631</a></li> <li>Fix slow modules filtering process <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1646">#1646</a> by <a href="https://github.com/BlackGad">https://github.com/BlackGad</a></li> <li>Fix incorrect coverage await using in generic method <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1490">#1490</a></li> </ul> <h3>Improvements</h3> <ul> <li>Cache the regex used in InstrumentationHelper <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1693">#1693</a></li> <li>Enable dotnetTool integration tests for linux <a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/660">#660</a></li> </ul> <p><a href="https://github.com/coverlet-coverage/coverlet/compare/v6.0.2...v6.0.3">Diff between 6.0.2 and 6.0.3</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/2a6f949747eec763f7fc87e4eeea9b3b0d9d2b9b"><code>2a6f949</code></a> change log and vnext version number update</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/90b21079d43cffae3a18f264e00962b9c8a1d57a"><code>90b2107</code></a> update version info (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1731">#1731</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/4e95c9210c8f7ef70809d74ad6cbdd1d1edd8227"><code>4e95c92</code></a> Update changelog and back bump version (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1730">#1730</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/e3717da4a72a2a418cdb0bd9788600305eaae824"><code>e3717da</code></a> Exclude filter issue (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1728">#1728</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/8eecb425ac32b0863e30ca770fc0080a75c48d41"><code>8eecb42</code></a> update version and changelog (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1725">#1725</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/fc40a2691e96df4c75139e2ada5c51a658741ff6"><code>fc40a26</code></a> release version (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1724">#1724</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/7095dd01cc8c2f9c9d9dd5af171e74794aea2038"><code>7095dd0</code></a> update changelog (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1721">#1721</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/302886a4302cce14b2019737aeb3b18f9eb4e489"><code>302886a</code></a> Fix filename update for activated UseSourceFile option (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1681">#1681</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/973200cfd3af473deead6a3a2ef03957c242e09e"><code>973200c</code></a> workaround for "Failed to instrument modules" (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1700">#1700</a>)</li> <li><a href="https://github.com/coverlet-coverage/coverlet/commit/c2e6aeecb96358d74889f3150e4d1bab85f412ec"><code>c2e6aee</code></a> Fix RuntimeConfigurationReader to support SelfContained builds (<a href="https://redirect.github.com/coverlet-coverage/coverlet/issues/1705">#1705</a>)</li> <li>Additional commits viewable in <a href="https://github.com/coverlet-coverage/coverlet/compare/v6.0.2...v6.0.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
5b9c2457c0 |
Python: Update pyarrow requirement from <19.0,>=12.0 to >=12.0,<20.0 in /python (#10243)
Updates the requirements on [pyarrow](https://github.com/apache/arrow) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/arrow/releases">pyarrow's releases</a>.</em></p> <blockquote> <h2>Apache Arrow 19.0.0</h2> <p>Release Notes URL: <a href="https://arrow.apache.org/release/19.0.0.html">https://arrow.apache.org/release/19.0.0.html</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/arrow/commit/a999eaccb12378f9e4e9ab758f18edc25b0991e5"><code>a999eac</code></a> MINOR: [Release] Update versions for 19.0.0</li> <li><a href="https://github.com/apache/arrow/commit/f6b7bc80c698854d174a41735e3a62bfb133c797"><code>f6b7bc8</code></a> MINOR: [Release] Update .deb/.rpm changelogs for 19.0.0</li> <li><a href="https://github.com/apache/arrow/commit/848fde3793d148fb5729eaddc20849d01c6b0c9e"><code>848fde3</code></a> MINOR: [Release] Update CHANGELOG.md for 19.0.0</li> <li><a href="https://github.com/apache/arrow/commit/8677e33380ef79f3344d667be4e74a42d7c4b810"><code>8677e33</code></a> <a href="https://redirect.github.com/apache/arrow/issues/45175">GH-45175</a>: [Python] Honor the strings_to_categorical keyword in to_pandas for ...</li> <li><a href="https://github.com/apache/arrow/commit/f41f59066b79fbf59719e68ef0f908afd6c5218c"><code>f41f590</code></a> <a href="https://redirect.github.com/apache/arrow/issues/45166">GH-45166</a>: [CI][C++] Upgrade Alpine Linux to 3.18 from 3.16 (<a href="https://redirect.github.com/apache/arrow/issues/45168">#45168</a>)</li> <li><a href="https://github.com/apache/arrow/commit/8cff21f4f2829806a0dde11a6899a0f13290553d"><code>8cff21f</code></a> <a href="https://redirect.github.com/apache/arrow/issues/45178">GH-45178</a>: [CI] Remove clcache related codes (<a href="https://redirect.github.com/apache/arrow/issues/45182">#45182</a>)</li> <li><a href="https://github.com/apache/arrow/commit/777797e1b142d5f386e3bda873e8f8b32b2d2da1"><code>777797e</code></a> <a href="https://redirect.github.com/apache/arrow/issues/45183">GH-45183</a>: [C++][Release] Add llvm-dev back to setup-ubuntu.sh (<a href="https://redirect.github.com/apache/arrow/issues/45184">#45184</a>)</li> <li><a href="https://github.com/apache/arrow/commit/14dc66d505eae0126dd0dc43887dd42788c6fbe3"><code>14dc66d</code></a> MINOR: [C#] Bump coverlet.collector from 6.0.2 to 6.0.3 in /csharp (<a href="https://redirect.github.com/apache/arrow/issues/45179">#45179</a>)</li> <li><a href="https://github.com/apache/arrow/commit/a931affa1766be1f98979228ca6ab124aa7f793c"><code>a931aff</code></a> <a href="https://redirect.github.com/apache/arrow/issues/45073">GH-45073</a>: [C++][Parquet] Fix generation of repetition levels for encryption t...</li> <li><a href="https://github.com/apache/arrow/commit/ada8750917cd2ec2ae8a605d2673d78ef04c82e4"><code>ada8750</code></a> <a href="https://redirect.github.com/apache/arrow/issues/44563">GH-44563</a>: [C++] <code>FunctionOptions::{Serialize,Deserialize}()</code> return an error ...</li> <li>Additional commits viewable in <a href="https://github.com/apache/arrow/compare/go/v12.0.0...apache-arrow-19.0.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
71e5040a78 |
Python: Update sort step method for assistant invoke. (#10191)
### Motivation and Context
At times, when the (Azure) OpenAI Assistant Agent makes a tool call,
that tool call's creation timestamp is coming after the message creation
timestamp (the message creation being the text that the assistant
responds with). Currently in our code, if we have a tool call
(`FunctionCallContent`), we first yield that, and then we make a call to
get completed steps, to then yield more content like
`FunctionResultContent` and `TextContent`. There will be two steps (or
more, depending upon the number of tool calls).
Right now we sort the completed steps in this way:
```python
completed_steps_to_process: list[RunStep] = sorted(
[s for s in steps if s.completed_at is not None and s.id not in processed_step_ids],
key=lambda s: s.created_at,
)
```
When there are no failures, it's because the tool call was created
before the final message content (as has been since this assistant was
first coded). However, it appears that processing on the server-side can
cause fluctuations in when the steps are created/processed. When we have
a failure, we now have the message_creation (`TextContent`) yielded
before the `FunctionResultContent`, which if sent to an (Azure) OpenAI
Chat Completion endpoint will break with a 400 because of the gap in the
ordering between the `FunctionCallContent` and the
`FunctionResultContent`:
```
FunctionCallContent
TextContent # this should follow `FunctionResultContent` (and it does during times when we don't see a 400)
FunctionResultContent
```
The 400 error isn't 100% repeatable because of server-side processing,
so we will get the correct ordering:
```
FunctionCallContent
FunctionResultContent
TextContent
```
This PR updates the ordering of how we sort of the completed steps -- if
we have a step_type == "tool_calls" and "message_creation", we sort to
allow for "tool_calls" to come first, and any ties are broken by the
step.completed_at timestamp. With this update, we no longer receive 400s
because the ordering of the content types is correct when sending to an
OpenAI model.
<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
1. Why is this change required?
2. What problem does it solve?
3. What scenario does it contribute to?
4. If it fixes an open issue, please link to the issue here.
-->
### Description
This PR:
- Updates the way we sort completed messages during an assistant invoke.
- Adds logging for the assistant invoke method at the `info` level.
- Closes #10141
<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄
---------
Co-authored-by: Eduard van Valkenburg <[email protected]>
|
||
|
|
5b65e6ab24 |
.Net: Python: fix pre-commit version (#10235)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> fix of uv version in pre-commit, fix for redis link ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
b34b16e12f |
.Net: Add Async Support for ConverseStreamResponse to Avoid Thread Blocking (#10159)
### Motivation and Context This change replaces the use of `response.Stream.AsEnumerable()` with `await foreach` for async streaming in the Amazon Bedrock SDK. The previous method blocked the calling thread, leading to potential thread exhaustion in high-concurrency scenarios. This update aligns with best practices for asynchronous operations in .NET. ### Description - Replaced blocking foreach with `await foreach` for streaming `ConverseStreamResponse` chunks asynchronously. - Upgraded Amazon Bedrock runtime and core SDKs to support this functionality. ### Contribution Checklist - [Y] The code builds clean without any errors or warnings - [Y] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [Y] All unit tests pass, and I have added new tests where possible - [Y] I didn't break anyone 😄 Fixes #9519 --------- Co-authored-by: Adit Sheth <[email protected]>dotnet-1.33.0-nightly-250117.1 dotnet-1.33.0-nightly-250116.1 |
||
|
|
39934f5fa3 |
.Net: Fixing distance functions for Pinecone, Weaviate and Redis and adding integration tests for score testing for these. (#10170)
### Motivation and Context #10103 ### Description - Adding integration tests for Pinecone, Weaviate and Redis. - Changing EuclideanDistance to EuclideanSquaredDistance for Redis and Pinecone - Changing DotProductSimilarity to NegativeDotProduct for Weaviate ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄dotnet-1.33.0-nightly-250115.1 |
||
|
|
8d46ee79ce |
.Net: Fixed the condition judgment of the TrackStreamingToolingUpdate method (#10178)
In the OpenAIFunctionToolCallTests.cs file, a new test method, TrackStreamingToolingUpdateWithEmptyIdNameDoesNotThrowException, has been added. This method tests that the TrackStreamingToolingUpdate method does not throw an exception when id and name are empty. In the OpenAIFunctionToolCall.cs file, two conditional judgments in the TrackStreamingToolingUpdate method have been modified: * Replace if (update. ToolCallId is string id) to if (!string. IsNullOrWhiteSpace(update. ToolCallId)), make sure that the ToolCallId is neither empty nor full of whitespace. * Replace if (update. FunctionName is string name) to if (!string. IsNullOrWhiteSpace(update. FunctionName)), making sure that FunctionName is neither empty nor full of whitespace. --------- Co-authored-by: SergeyMenshykh <[email protected]> |
||
|
|
2e4455b202 |
Python: Feat/Add DEVELOPER role for openai o1 (#10033)
### Motivation and Context Currently, the OpenAI O1 model introduces a new role "developer". However, passing the conventional "system" role results in an error. To address this issue, the following changes are proposed. ### Description 1. **Add a Method to the `ChatHistory` Class** - Implement a method to handle role conversion or substitution logic for compatibility with the O1 model. 2. **Expand the `AuthorRole` Enum** - Add `"developer"` as a new value to the `AuthorRole` enum. 3. **Improve Developer Experience (UX)** - If the `"system"` role is mistakenly passed, the logic should internally convert it to `"developer"` for better UX. - However, since all models other than O1 still use `"system"`, simply adding support for the `"developer"` role seems to be the most optimal solution at this point. - Closes: #10032 ### Background - The O1 model no longer supports the `"system"` role, causing errors when it is passed. - The introduction of the `"developer"` role must be integrated in a way that preserves compatibility with other models. ### Usage ```python import asyncio from semantic_kernel.connectors.ai.function_choice_behavior import FunctionChoiceBehavior from semantic_kernel.connectors.ai.open_ai.prompt_execution_settings.azure_chat_prompt_execution_settings import ( AzureChatPromptExecutionSettings, ) from semantic_kernel.connectors.ai.open_ai.services.azure_chat_completion import AzureChatCompletion from semantic_kernel.contents.chat_history import ChatHistory from semantic_kernel.kernel import Kernel async def main(): kernel = Kernel() service_id = "azure-openai" kernel.add_service( service=AzureChatCompletion( service_id=service_id, api_key=*********, endpoint=*********, deployment_name="o1", api_version="2024-12-01-preview", ) ) settings = kernel.get_prompt_execution_settings_from_service_id(service_id=service_id) if isinstance(settings, AzureChatPromptExecutionSettings): settings.function_choice_behavior = FunctionChoiceBehavior.Auto(auto_invoke=True) service = kernel.get_service(service_id=service_id) if not isinstance(service, AzureChatCompletion): raise Exception("Invalid Value") history = ChatHistory() history.add_developer_message("You are a helpful assistant.") history.add_user_message("hello") result = await service.get_chat_message_contents(chat_history=history, settings=settings, kernel=kernel) if not result: raise Exception("result is None") print(result[0].content) if __name__ == "__main__": asyncio.run(main()) ``` ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Tao Chen <[email protected]> Co-authored-by: Evan Mattson <[email protected]> |
||
|
|
bf45719275 |
Python: Update gen_ai traces and logs (#10173)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> The gen_ai semantic convention has gone through some updates since we started generating telemetry for gen_ai operations. We would like to align with the latest conventions, and most importantly allow our users to visualize the gen_ai traces on the Azure AI Foundry Tracing UI, which relies on the gen_ai conventions. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> 1. Updates the gen_ai telemetry module to align with the latest gen_ai convention so that all AI connectors generate telemetry data that can be visualized on Azure AI Foundry. 2. Unit tests for the update. > Note that this is a breaking change as this feature is still experimental. Anyone who is relying on the previous gen_ai conventions should also update. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄dotnet-1.33.0-nightly-250114.1 |
||
|
|
bc3e294749 |
.Net: Use explicit arguments in TextSearch delegates to ensure type conversion (#10151)
### Motivation and Context Use explicit arguments in TextSearch delegates to ensure type conversion ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 --------- Co-authored-by: SergeyMenshykh <[email protected]> |
||
|
|
d06d230c29 |
.Net: Add a request index to the streamed function call update content (#10129)
### Motivation and Context:
Today, it's impossible to determine which request a streaming function
call update belongs to or originates from. As a result, if an AI service
interaction leads to multiple requests to an AI model - let's say one
per function call - it's impossible to assemble the function call
contents from the streamed updates. This is because the streaming
function call updates from the second request override those from the
first one.
### Description
This PR adds the `RequestIndex` to the
`StreamingFunctionCallUpdateContent` class and updates the {Azure}OpenAI
connectors to set it. Finally, it updates the
`FunctionCallContentBuilder` class to construct a composite index from
`RequestIndex` and `FunctionCallIndex` and uses it to uniquely identify
the function call content updates across requests.
Closes: https://github.com/microsoft/semantic-kernel/issues/10006
|
||
|
|
22cfbd5cf8 |
Python: Bump Python version to 1.18.2 for a release. (#10171)
### Motivation and Context Bump Python version to 1.18.2 for a release. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Bump Python version to 1.18.2 for a release. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄dotnet-1.33.0-nightly-250113.1 python-1.18.2 |
||
|
|
3e4d8fc008 |
Python: Provide full list of samples in concepts README. (#10161)
### Motivation and Context Provide the full list of samples including hyperlinks in the samples/concepts/README.md file instead of only the type of sample. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR: - Provides the full list of samples including hyperlinks in the samples/concepts/README.md file instead of only the type of sample. - Renames the "structured_output" folder to be "structured_outputs" which is the name OpenAI uses. - Closes #6928 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
fac32057d3 |
Python: Configure top_p and temp for assistant agents if configured (#10163)
### Motivation and Context The assistant agent class was storing top_p and temp, but never sending it during agent creation. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Send the top_p and temp params if configured while creating an assistant agent. - Closes #10162 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
a76229bfc2 |
.Net: Google Gemini - Adding response schema (Structured Outputs support) (#10135)
### Motivation and Context - Resolves #9501 ### Description Allow schema definition for the LLM response. Similar to `Structured Output` concept from OpenAI.dotnet-1.33.0-nightly-250112.1 dotnet-1.33.0-nightly-250111.1 dotnet-1.33.0-nightly-250110.1 |
||
|
|
e8b31a228c |
.Net: Add shared integration tests for checking vector search scores (#10144)
### Motivation and Context Adds tests for verifying the scores as mentioned in #10103 Only adding tests for passing connectors right now. ### Description Adding a common base test class with integration tests for checking the returned vector scores. Adding subclasses for InMemory, Qdrant and Postgres, since these are passing end to end. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
53995c8754 |
.Net: Add unit tests for Text Search AOT enhancements (#10143)
### Motivation and Context Closes #9342 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄 --------- Co-authored-by: SergeyMenshykh <[email protected]> |
||
|
|
9a5e2db88b | .Net: Samples demonstrating techniques of providing AI models with function return type metadata. (#10145) | ||
|
|
9b794532f1 |
Python: Bump Python version to 1.18.1 for a release. (#10146)
### Motivation and Context Bump Python version to 1.18.1 for a release. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Bump Python version to 1.18.1 for a release. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄dotnet-1.33.0-nightly-250109.1 python-1.18.1 |
||
|
|
12b6b8264f |
Python: Improve agent retrieval by passing necessary kwargs. Add unit tests. (#10116)
### Motivation and Context The assistant retrieval methods for OpenAI and AzureOpenAI didn't propagate the api_key or client, if specified. For AzureOpenAI, it's also important to propagate more settings info. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR: - improves the handling for retrieving an agent by making sure we pass along specified keyword arguments - adds unit tests to ensure the new functionality works as expected <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
f5f38c7289 |
Python: Upgrade AOAI api version to latest GA: 2024-10-21 (#10118)
### Motivation and Context The current DEFAULT_AZURE_API_VERSION is stale at 2024-06-01. The [latest GA API VERSION](https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation#latest-ga-api-release) is 2024-10-21. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description This PR upgrades the DEFAULT_AZURE_API_VERSION to be the latest GA 2024-10-21. This default version is used if an api_version is not supplied to the AzureChatCompletion constructor. - Closes #10117 <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone 😄 |
||
|
|
4882550306 |
Python: Fix function call content argument parsing (#10132)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> This PR includes changes to improve the handling of JSON parsing when it fails to be parsed as it is in function call arguments by adding a regular expression for preprocessing JSON strings to remove single quotes only when they are not escaped. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> Enhancements to JSON parsing: * [`python/semantic_kernel/contents/function_call_content.py`](diffhunk://#diff-1f5f27eade7117045bc9e62d66ebef5c93047142cdb4fd0115b0ff8eadf2f69cL152-R164): Modified `parse_arguments` method to preprocess JSON strings by replacing single quotes with double quotes, except for escaped single quotes. Added a debug log for invalid JSON. Test file updates: * [`python/tests/unit/contents/test_function_call_content.py`](diffhunk://#diff-6e891b3044d5bf5caa7abc97a44ef11ce291aba01fa8032ab1104773f4545c9dR135-R148): Added new tests for parsing single-quoted JSON strings. Renamed the test file from `test_function_call.py` to `test_function_call_content.py`. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |
||
|
|
dcad32e503 |
Python: Temporarily xFail some google ai integration tests to unblock (#10136)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> This pull request includes updates to the test cases in the `python/tests/integration/completions/test_chat_completion_with_function_calling.py` and `python/tests/integration/completions/test_chat_completion_with_image_input_text_output.py` files. The changes primarily address the handling of Google AI API issues by adding markers to the tests. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> * [`python/tests/integration/completions/test_chat_completion_with_function_calling.py`](diffhunk://#diff-530ae449ac82bcd42280dcf440a135e38acc53a5362940fdbb64edfdc4300abcL506-R512): Added `xfail` markers to multiple test cases to handle temporary failures due to Google AI API issues related to function calling not being enabled for models/gemini-1.5-flash. [[1]](diffhunk://#diff-530ae449ac82bcd42280dcf440a135e38acc53a5362940fdbb64edfdc4300abcL506-R512) [[2]](diffhunk://#diff-530ae449ac82bcd42280dcf440a135e38acc53a5362940fdbb64edfdc4300abcL526-R538) [[3]](diffhunk://#diff-530ae449ac82bcd42280dcf440a135e38acc53a5362940fdbb64edfdc4300abcL572-R590) * [`python/tests/integration/completions/test_chat_completion_with_image_input_text_output.py`](diffhunk://#diff-9c1b24d0f91106612c3b55b1f63122811cf4d3cb6dbc6908e50b8a3804bd42ecL186-R192): Added an `xfail` marker to handle temporary failure due to Google AI API issues related to image input modality not being enabled for models/gemini-1.5-flash. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 |