A powerful VSCode extension that integrates AI capabilities into your development workflow, providing intelligent code assistance and chat functionality.
Features
🤖 AI-powered code assistance
💬 Interactive chat interface
⚙️ Configurable API endpoints
🔒 Secure API key storage
📝 Chat history management
🚀 Rate-limited API requests
💾 Response caching
Requirements
Visual Studio Code ^1.60.0
Node.js ^14.0.0
An API key from your AI service provider
Installation
Install from VS Code Marketplace:
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "Faustus AI"
Click Install
Manual Installation:
git clone https://github.com/yourusername/faustus-ai.git
cd faustus-ai
npm install
npm run build
Configuration
Open VS Code settings (Ctrl+,)
Search for "Faustus AI"
Configure the following settings:
API Endpoint: Your AI service endpoint (must be HTTPS)
API Key: Your authentication key (format: sk-xxxxxxxxxx)
Or use the extension's settings UI:
Click the Faustus AI icon in the activity bar
Click the settings icon (⚙️)
Enter your API endpoint and key
Click Save
Usage
Chat Interface
Click the Faustus AI icon in the activity bar
Type your message in the input box
Press Enter or click Send
View AI responses in the chat history
Managing Chat History
Click "Clear History" to remove all chat messages
Chat history is automatically limited to the last 50 messages
Messages are cached for improved performance
Rate Limiting
Requests are automatically queued and rate-limited
Maximum 10 requests in queue
1-second interval between requests
Security
API keys are stored securely using VS Code's secret storage