extensions
extensions copied to clipboard
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
### Description Compilation error when using multi targeting such as .NET 10 and NET 9.0 or NET 8.0 or both of them. ### Reproduction Steps csproj file: ``` net9.0;net10.0 enable...
Semantic conventions is working on a scheme for tool definition: https://github.com/open-telemetry/semantic-conventions/pull/2942 When done, MEAI should double check it is in sync with the scheme.
## Description The test `RunTrackerAsync_IfProviderThrows_LogsError` in `ResourceMonitoringServiceTests.cs` is consistently timing out on Windows when running on .NET 10.0. The test passes successfully on .NET 8.0 and .NET 9.0, indicating a...
### Description We are using latest `Microsoft.Extensions.Diagnostics.ResourceMonitoring` (9.8.0) and recently added `container.cpu.time` and `container.memory.usage` metrics. I am a little bit confused by numbers I see. They are not even close...
``` Error message Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.InvalidOperationException) Actual: typeof(System.Net.Sockets.SocketException) ---- System.Net.Sockets.SocketException : An attempt was made to access a socket in a way...
### Background and motivation Support for extending and enriching Activities generated by `OpenTelemetryChatClient`. Enrichment is a common pattern for OTEL instrumentation libraries. ### API Proposal // TODO ### API Usage...
The user problem is how to represent streaming updates without re-implementing the coalescing behavior we have in ToChatResponse https://github.com/dotnet/extensions/blob/192782ef64ab19202f054e32e62fc7c857a33d23/src/Libraries/Microsoft.Extensions.AI.Abstractions/ChatCompletion/ChatResponseExtensions.cs#L126-L136 Our template does a very basic thing of just concatenating all...
Build times in dotnet/extensions have really been bugging me lately. All these measurements are made on a devbox with 32vCPU | 128GB | 2048GB For instance: ``` C:\src\dotnet\extensions\src\Libraries\Microsoft.Extensions.AI.Abstractions>dotnet build --no-dependencies...
### Is there an existing issue for this? - [x] I have searched the existing issues ### Describe the bug I've implemented an `IServiceEndpointProvider` that doesn't use `IChangeToken`. I would...
### Description Hello, using the code below I've observed that: * retries can happen up to 11ms before the time given by a `Retry-After` header; * roughly 10% of retries...