Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several changes across the backend and frontend of the application. The most significant changes include improvements to the
ProcessRequestmethod inSemanticKernelApp.cs, updates to the frontend'sChatWindow.tsx, and changes to the project's dependencies and configuration.Backend improvements:
Backend/Services/SemanticKernelApp.cs: TheProcessRequestmethod has been updated to improve the handling of chat history. AcacheKeyvariable has been introduced to store the session ID, which is used to retrieve and update the chat history from the cache. The updated chat history is now stored back in the cache after each bot response. [1] [2]Frontend improvements:
Frontend/src/ChatWindow.tsx: TheChatWindowfunction has been modified to improve the handling of chat messages. The user's message is now added to the messages state only after the bot's response has been received. TheupdateMessagesfunction has been introduced to update the bot's response message with the content of each response delta and update the messages state. [1] [2]Project configuration and dependencies:
Frontend/vite.config.ts: The server configuration has been updated to use HTTPS with the key and certificate read from thecertsdirectory.Frontend/.gitignore: Thecertsdirectory has been added to the.gitignorefile.Frontend/package.jsonandFrontend/package-lock.json: The@types/nodepackage has been added to the project's devDependencies. [1] [2] [3] [4]Minor changes:
Frontend/index.html: The favicon and title of the webpage have been updated.Frontend/src/index.css: The--background-colorCSS variable has been removed.