-
Notifications
You must be signed in to change notification settings - Fork 35
Update Microsoft.Extensions.AI to 9.3.0-preview.1.25114.11 #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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