codespace icon indicating copy to clipboard operation
codespace copied to clipboard

Adds support for new help50

Open dmalan opened this issue 1 year ago • 2 comments

TODO

  • [ ] Implement _helped, _helpful, and _helpless once commands exist for help50 button.

Initially and temporarily, this version will also mention help50 button to students whenever a program exits with non-0 status, to introduce the new feature:

Screenshot 2024-10-07 at 9 24 52 AM

  • [x] Add help50 prompts to cs50.ai
  • [x] Add api/v1/help endpoint to cs50.ai
  • [x] Add commands help50.ask, help50.say, help50.showButton, help50.hideButton to help50.vsix.

dmalan avatar Oct 06 '24 01:10 dmalan

Dependencies: https://github.com/cs50/cs50.ai-config/pull/53 https://github.com/cs50/cs50.ai/pull/116 https://github.com/cs50/help50.vsix/commit/173d9e13fa5d5d9f93a3d8c642e3a68253f49b32

rongxin-liu avatar Oct 09 '24 08:10 rongxin-liu

In the codespace terminal, you can run update50 -t latest_help50 to test the help50 integration.

Here's why it would work:

The codespace image built for this branch (or any branch that is not main or develop is using cs50/cli:canary, which has the latest changes from the help50 branch in the cs50/cli repo.

Any new changes made to cs50/cli will be reflected on the cs50/cli:canary image.

rongxin-liu avatar Oct 09 '24 10:10 rongxin-liu