Summary
DeepThought can be integrated with supported Visual Studio Code (VS Code) extensions, allowing developers to access AI-assisted coding directly within their IDE. These integrations enable features such as code generation, debugging, code explanation, and refactoring without leaving the development environment.
Each supported extension has its own configuration process; however, they all require the same core connection information to communicate with DeepThought.
Configuration Notes
Most supported VS Code extensions require the following values:
- API Base URL:
https://dtcontroller.sr.unh.edu:4242/openai/v1
- Model Name:
Meta-Llama-3.1-8B-Instruct
- DeepThought API Key: (Required for extensions that support API key authentication.)
Note: Configuration locations vary by extension. Refer to the appropriate guide below for plugin-specific setup instructions.
Recommended Plugins
Continue - an advanced, customizable integration for DeepThought and AI-assisted development work flows. Best suited for developers who want deeper control and configuration.
Genie AI - a simpler AI chat and coding assistant within Visual Studio Code. Best for quick prompts, lightweight usage, and ease of setup.
How-To
Task: Configure Continue VS code extension through DeepThought
Instructions
Step 1 - Make sure the Continue VS code extension is fully installed on your device (see link above)
Step 2 - Open Continue from sidebar
Step 3 - Click gear icon > Configs
Step 4 - Select Modify Local Config
Step 5 - Paste configuration and replace KEY
name: Local Config
version: 1.0.0
schema: v1
models:
- name: Meta-Llama-3.1-8B-Instruct
provider: openai
model: Meta-Llama-3.1-8B-Instruct
apiKey: KEY
apiBase: https://dtcontroller.sr.unh.edu:4242/openai/v1
Step 6 - Save and test connection
Outcome
You have configured the Continue VS code extension in your preferred IDE to work through USNH DeepThought.
Task: Configure GenieAI VS code extension through DeepThought
Instructions
Step 1 - Make sure the GenieAI VS code extension is fully installed on your device (see link above)
Step 2 - Open Command Palette by pressing Ctrl+Shift+P / Cmd+Shift+P
Step 3 - Select Preferences: Open Settings (JSON)
Step 4 - Add configuration below
"genieai.openai.apiBaseUrl": "https://dtcontroller.sr.unh.edu:4242/openai",
"genieai.openai.model": "Meta-Llama-3.1-8B-Instruct"
Step 5 - Save file
Outcome
You have configured the GenieAI VS code extension in your preferred IDE to work through USNH DeepThought.
Further Readings
GlobalProtect VPN: General Information and Resources
Need additional help?
If you have any additional questions, please fill out the Research Computing Center Request Form to reach RCC Support.