PowerShell / ProjectMercury

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

Refactor the `openai-gpt` agent to address some issues #134

Closed daxian-dbw closed 3 months ago

daxian-dbw commented 3 months ago

PR Summary

Fix #126 Fix #132 Fix #133

Changes are:

  1. Move to the latest version of Azure.AI.OpenAI package and update code for breaking changes in the new version.
  2. Clean up code to remove things that are not used today and likely won't be used in future.
  3. Add the '/gpt' command for the 'openai-gpt' agent.
  4. Update '/help' to order the agents differently to make the commands from an agent more obvious.

OpenAI endpoint works with the openai-gpt agent:

image

/help displays the agent command before core commands:

image