Configure AskCodi API
Fast guide to connect Roocode AI coding assistant with AskCodi API. Configure OpenAI-compatible settings for Code, Architect, Ask, Debug, and Orchestrator modes.
Connect Roocode to AskCodi for diverse AI models. Use different models for different coding modes.
Why Connect Roocode to AskCodi?
Roocode uses standard providers by default. Connect AskCodi for specialized models. Use fast models for Ask Mode. Use powerful models for Architect Mode.
Prerequisites
- VS Code with Roocode extension
- AskCodi account with API key
- Internet connection
- Basic VS Code settings knowledge
Your API key connects to multiple AskCodi models via single endpoint.
Step 1: Install Roocode Extension
- Open VS Code Extensions (Ctrl+Shift+X)
- Search "Roocode"
- Install extension with ID
RooVeterinaryInc.roo-cline - Reload VS Code after installation
Step 2: Open Roocode Settings
- Click Roocode icon in VS Code sidebar
- Find API Provider settings section
- Look in main configuration panel or settings gear icon
Step 3: Select OpenAI Compatible Provider
- In API Provider dropdown, select "OpenAI Compatible"
- This enables OpenAI-compatible API services like AskCodi
Step 4: Configure Base URL
- Enable "Use custom base URL" option
- Enter AskCodi API endpoint:
https://api.askcodi.com/v1
Step 5: Add API Key
- Go to AskCodi dashboard and copy API key
- In Roocode settings, find API Key field
- Paste your AskCodi API key
- Keep key secure
Step 6: Configure Models
After adding API key, Roocode fetches models from AskCodi. Choose models for different modes:
- Ask Mode: Fast, accurate response models
- Code Mode: Code generation and understanding models
- Architect Mode: Strong reasoning models
- Debug Mode: Problem-solving models
- Orchestrator Mode: Powerful task coordination models
Step 7: Test Integration
- Test Ask Mode with simple query
- Test Code Mode with multi-step request
- Verify responses come through with good response times
Optimization Tips
Model Strategy: Use different models for different tasks. Fast models for Ask Mode. Powerful models for Architect Mode.
Usage Monitoring: Check AskCodi dashboard to monitor API usage across Roocode modes.
Performance: If responses are slow, try different models or check internet connection.
Security: Rotate API key periodically in AskCodi and update in Roocode.
Troubleshooting
Connection Failures:
- Verify URL: https://api.askcodi.com/v1
- Confirm API key is correct
- Check internet and firewall settings
Authentication Errors:
- Check API key formatting (no extra spaces)
- Regenerate key if needed
Model Loading Issues:
- Refresh model list or restart VS Code
- Confirm AskCodi account has model access
Performance Problems:
- Try different models
- Check internet connection
- Some models may have high load
Key Steps
- Install Roocode extension (ID: RooVeterinaryInc.roo-cline)
- Open Roocode settings in VS Code sidebar
- Select OpenAI Compatible provider
- Use API URL: https://api.askcodi.com/v1
- Add AskCodi API key securely
- Select models for different Roocode modes
- Test integration with simple query
Connect Roocode to AskCodi for specialized AI models across all coding modes.
Falta algo ou está errado neste guia? Fale connosco