Skip to content

Conversation

@vicancy
Copy link
Member

@vicancy vicancy commented Aug 29, 2025

No description provided.

@vicancy vicancy requested a review from Copilot September 28, 2025 08:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request introduces a complete AI chat demo application featuring real-time multi-room chat with AI assistance. The system supports both local development and Azure deployment with minimal configuration changes.

Key changes:

  • Complete React + TypeScript frontend with real-time messaging and markdown support
  • Python Flask backend with Azure Web PubSub integration and configurable transport/storage modes
  • Full Azure deployment infrastructure using Bicep templates with managed identity and RBAC
  • Comprehensive test coverage for both frontend and backend components

Reviewed Changes

Copilot reviewed 83 out of 89 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
samples/ai/chat-demo/python_server/ Complete Python backend with Flask, WebSocket support, AI integration, and Azure services
samples/ai/chat-demo/client/ React TypeScript frontend with real-time messaging, room management, and markdown rendering
samples/ai/chat-demo/infra/ Azure infrastructure as code using Bicep for App Service, Web PubSub, and Storage
samples/ai/chat-demo/docs/ADVANCED.md Comprehensive architecture documentation and deployment guide
samples/ai/chat-demo/azure.yaml Azure Developer CLI configuration for automated deployment

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Fixing AI generated logic

Lots of bugs...

Clean not used files

Fix server, adding logger

Kind of working, remaining work: logger, cacellation, user/conn

Add connect hook, user logic

User to be set through url too, and simply client logic

Fix issue that user should receive the message sent to themselves

simply client, a
dd a message reducer

update wording

add rooms sidebar

Async handler

UPdate readme and remove user related logic

Update readme and script

temp

temp2

Fix the client bug

Minor updates

Update to include history when sending to ai, and add azure related skeleton

WebPubSub works when running locally with tunnel tool

Naming refactor

Simplify the client side code

Cleanup server a bit and it is working

Move files

Refactor

temp

Webpage works but negotiate 500

Now works, one last thing is the blob -> table

Changing to azure table works

Fix some bugs and add ut

Fix webpubsub bug when send to group, not need to stringify

A clean room management approach using rest api

Add more tests

Fix package failure and add more tests
azd and local run works
refactor room store, transport, and rest api

Improve code and test
@vicancy vicancy merged commit cc8da0b into Azure:main Oct 13, 2025
6 checks passed
@vicancy vicancy deleted the chat-demo branch October 13, 2025 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants