| CopilotChatClient |
Microsoft.Extensions.AI.IChatClient implementation that calls the GitHub Copilot chat completions API directly (raw model endpoint, no CLI agent harness). Only tools explicitly provided via Microsoft.Extensions.AI.ChatOptions.Tools are sent; no built-in Copilot CLI tools are injected. |
| CopilotChatClientOptions |
Configuration options for CopilotChatClient and related Copilot API types. |
| CopilotRateLimitException |
Thrown when a Copilot web search request is rejected due to rate limiting. This can occur either via an HTTP 429 response after retry exhaustion or when the MCP tool returns a rate-limit error message as its content. |
| CopilotToolSet |
Factory for creating Copilot-backed Microsoft.Extensions.AI.AIFunction instances. Use with Needlr's agent framework tool sets or pass directly to Microsoft.Extensions.AI.ChatOptions.Tools. |
| CopilotToolSetOptions |
Configuration for which Copilot-backed tools to enable. |
| CopilotWebSearchFunction |
Microsoft.Extensions.AI.AIFunction that calls the Copilot MCP server's web_search tool. Returns a WebSearchResult containing the answer text, source citations, and the search queries that were performed. |
| WebSearchCitation |
Represents a citation from a Copilot web search result, linking a span of the answer text to a source URL. |
| WebSearchQuery |
Represents a Bing search query that the Copilot web search tool performed while answering the user's question. |
| WebSearchResult |
The structured result of a Copilot web search, including the answer text, source citations, and the search queries that were performed. |