Continue Integration
Learn how to use Nia AI with Continue code assistant
This guide explains how to set up Nia AI in Continue to enhance your coding experience with Nia Agent.
- You need a personal Nia API key to get started.
Overview
Continue is a powerful AI coding assistant that helps you write, understand, and improve code. By integrating Nia AI with Continue, you can leverage Nia’s advanced code understanding capabilities directly in your workflow.
Messages sent in Continue will be logged in your External folder, allowing you to continue your conversations in the Nia web app.
API Key Options
Nia offers two types of API keys for integration with Continue:
-
V2 API Key: Costs 0.10 cents per request. Suitable for occasional use or testing.
-
IDE API Key: Included in the Nia Pro plan ($14.99/month). Provides unlimited integration with Continue and other tools.
Choose the option that best fits your usage needs.
Rate Limits
All Nia API keys have a default rate limit of 60 requests per minute. This ensures optimal performance and fair usage across all users.
Pro plan users can request increased rate limits by contacting our support team.
Installation
Access Continue Settings
-
Open Continue
-
Click on the Settings icon in the bottom right corner of the extension
-
Navigate to the
config.json
file
Configure Nia AI
Add the following JSON to the models array:
Replace {$NIA_API_KEY}
with your actual Nia API key.
Save and Apply
-
Save the
config.json
file -
Restart Continue if necessary
-
Nia AI will now be available as a model in Continue
Usage
Features
Enhanced Context
-
Improved code understanding
-
Project-wide context awareness
-
More relevant code suggestions
Conversation Continuity
-
Seamless transition between Continue and Nia
-
Persistent conversation history
-
Cross-platform context retention
Advanced Code Assistance
-
Deeper code analysis
-
More accurate bug detection
-
Better code completion
Integrated Experience
-
Native-feeling integration
-
Familiar interface
-
Consistent user experience
Best Practices
Performance Optimization
-
Be aware of higher latency due to context retrieval
-
Use specific, focused queries
-
Provide clear context when needed
Effective Queries
-
Be specific about code sections
-
Reference file paths when relevant
-
Break complex questions into smaller parts