[Agentic AI] Bug in Ungraded Lab: Port mismatch in ui_all.html for Email Assistant Workflow

Hi everyone,

I found a bug in the UI code for the Ungraded Lab: Email Assistant Workflow.

Issue Details: In the template file located at email_server/templates/ui_all.html, lines 129 and 130 currently specify ports 5000 and 5001. However, they should be set to ports 8000 and 8001 to match the provided Uvicorn/Gunicorn commands for starting the email services.

  • File Path: email_server/templates/ui_all.html

  • Affected Lines: 129 & 130

  • Current Code: Configured with ports 5000 / 5001

  • Expected Code: Should use ports 8000 / 8001

Updating these lines to 8000 and 8001 resolves the connection issue when running the services as instructed in the lab.

Hope this helps the technical TAs or team update the template!

This is indeed a known mismatch in the lab template. The Uvicorn commands start the services on 8000/8001, but ui_all.html still points at 5000/5001.

Your fix is correct: update lines 129 and 130 in email_server/templates/ui_all.html to use ports 8000 and 8001 respectively. That resolves the connection failure.

Thanks for flagging it with the exact file path and line numbers, that makes it easy for the team to patch.

@arman101
Can you submit an issue in the github repo?

Sure, I will do that.

Update- Issue submitted.