-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add GitHub Copilot Chat support
This release adds GitHub Copilot Chat integration, enabling users to interact with Copilot's powerful AI models directly from the command line. Key features: - Support for Copilot Chat models including GPT-4, OpenAI-O1, and Claude-3.5 - New commands `ask copilot-login` and `ask copilot-logout` for authentication - Secure token storage in the local config directory - Seamless integration with existing shell-ask workflows Technical changes: - Added Copilot authentication and token management - Refactored AI SDK initialization to support async operations - Enhanced error handling for API responses - Added colorette for improved CLI output formatting - Moved common utilities into a separate module To use Copilot Chat: 1. Run `ask copilot-login` to authenticate 2. Use any Copilot model with `-m copilot-*` flag 3. Use `ask copilot-logout` to remove authentication
- Loading branch information
Showing
11 changed files
with
271 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.