Skip to content

fix: Disable prompt submit if problem set not selected #166

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jonkafton
Copy link
Contributor

What are the relevant tickets?

Description (What does it do?)

The canvas tutor agent endpoint (https://api.rc.learn.mit.edu/ai/http/demo_canvas_tutor_agent/) will reject prompts unless accompanied by a problem_set_title.

This PR disables prompt submit until the user has made a selection from the assignment dropdown.

How can this be tested?

@jonkafton jonkafton added the Needs Review An open Pull Request that is ready for review label Aug 21, 2025
@jonkafton jonkafton changed the title bug: Disable prompt submit if problem set not selected fix: Disable prompt submit if problem set not selected Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review An open Pull Request that is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant