Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11#18
Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11#18gunpal5 merged 1 commit intogunpal5:mainfrom
Conversation
WalkthroughThis pull request updates the chat response handling system by changing method names, return types, and object properties. Methods in the extension and client classes now return updated response objects (e.g., Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant GC as GenerativeAIChatClient
participant AM as AbstractionMapper
participant CS as Chat Service
U->>GC: GetResponseAsync(chatMessages)
GC->>AM: ToChatCompletion(response)
AM->>CS: Process Request
CS-->>AM: ChatResponse
AM-->>GC: ChatResponse
GC-->>U: ChatResponse
sequenceDiagram
participant U as User
participant GC as GenerativeAIChatClient
participant AM as AbstractionMapper
participant CS as Chat Service
U->>GC: GetStreamingResponseAsync(chatMessages)
GC->>AM: ToStreamingChatCompletionUpdate(response)
AM->>CS: Process Stream Request
CS-->>AM: ChatResponseUpdate (stream)
AM-->>GC: ChatResponseUpdate (stream)
GC-->>U: Streamed ChatResponseUpdate
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🔇 Additional comments (8)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit