Highlights
AI
- Abstractions for remote MCP servers; response/approval flow support via new experimental types
- Function approvals via new experimental types (e.g.,
ApprovalRequiredAIFunction, user input/approval request & response content). - Reasoning text streaming for OpenAI Responses ChatClient streaming.
AIFunctionsplit into a base class to improve extensibility.IChatReducermoved toMicrosoft.Extensions.AI.Abstractions.- Updated to OpenAI 2.4.0 and genai standard convention 1.37.
- Coalescing logic now treats
ChatMessage.Rolechanges as new messages. GetResponseAsync<T>now reads only the last message (bug fix).- OpenTelemetry ChatClient/EmbeddingGenerator logs raw additional properties (no key mangling).
- Fixed empty annotated text chunk handling in streaming with OpenAI Assistants.
Telemetry & Diagnostics
- HTTP diagnostics log query string params with proper redaction (emitted on
url.query). server.addresstelemetry emits host only (per OpenTelemetry semantic conventions).- Heuristics added to detect well-known model hosts.
- Resource monitoring can consider
Environment.CpuUsage.
New Contributors
- @ykumashev made their first contribution in #6696
Full Changelog: v9.8.0...v9.9.0