Microsoft Extensions AI

Microsoft.Extensions.AI (IChatClient) usage and migration gotchas. Use when building or fixing chat clients, tool/function calling, or middleware pipelines with Microsoft.Extensions.AI — above all that automatic tool calling requires building the client with ChatClientBuilder(...).UseFunctionInvocation(); without it, tools placed in ChatOptions.Tools are silently never invoked, response.Text is empty, and no error is thrown. Also covers the preview→GA API renames (which have no [Obsolete] shims).

richlander Updated 161 repo stars

File contents

richlander/dotnet-package-skills commit e8f521efe2

Frequently asked questions

npx get-skill add richlander/microsoft-extensions-ai