PowerShell / ProjectMercury

An interactive shell to work with AI-powered assistance providers
MIT License
43 stars 11 forks source link

Fix two `NullReferenceException` in `/refresh` and `/code post` #137

Closed daxian-dbw closed 3 months ago

daxian-dbw commented 3 months ago

PR Summary

Fix #136 Fix #135

  1. Update /refresh to not call OnUserAction because it's not a piece of feedback to the previous answer from an agent. Also, an agent can always capture this user action if it wants to.
  2. Update /code post to call OnUserAction because it's feedback to the previous answer, just like /code copy or /code save.