Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mermelstein/e-acc-copilot
VSCode llm chat with any model you want
https://github.com/mermelstein/e-acc-copilot
Last synced: about 1 month ago
JSON representation
VSCode llm chat with any model you want
- Host: GitHub
- URL: https://github.com/mermelstein/e-acc-copilot
- Owner: mermelstein
- License: mit
- Created: 2023-12-16T18:02:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-03T15:40:43.000Z (about 1 year ago)
- Last Synced: 2024-11-12T12:45:39.334Z (3 months ago)
- Language: JavaScript
- Size: 2.53 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# e-acc-copilot
This is a Visual Studio Code extension that uses OpenAI's GPT model to generate text based on the content of a file named `llm.txt` in your workspace.
Get it here:
[](https://marketplace.visualstudio.com/items?itemName=mermelstein.e-acc-copilot)
## Features
* Prompts for OpenAI key and GPT model if not already set in the configuration settings.
* Saves `llm.txt` if it's open in an editor before sending the content to OpenAI.
* Shows a progress notification while the AI is generating the text.
* Appends the AI's response to `llm.txt`.
## Usage
1. Open a workspace in Visual Studio Code.
2. Create a file named `llm.txt` in the workspace.
3. Write some text in `llm.txt`.
4. Run the `AI Ask` command from the command palette (`Ctrl+Shift+P` or `Cmd+Shift+P`).The AI's response will be appended to `llm.txt`.
If you want to update the OpenAI model you're using or your API key, open the e/acc Copilot settings from the Extension panel. Open `Extension Settings` and in the User tab update the values for GPT Model and/or OpenAI Key.
If these are empty (ie you just installed the extension) you will be prompted for them when you run the `AI Ask` command.## Requirements
* Visual Studio Code 1.58.0 or later
* Node.js 12.14.0 or later
* OpenAI API Key (users are prompted for this if it doesn't exist and is stored in your local extension settings)## Extension Settings
This extension adds the following configuration settings:
* `e-acc-copilot.openAIKey`: Your OpenAI key.
* `e-acc-copilot.gptModel`: The GPT model to use.You can set these configuration settings in your user or workspace settings.
## Known Issues
None at the moment.
## Release Notes
### 0.0.1
Initial release of e-acc-copilot.