lemonade

Continue Coding Assistant

Continue provides open-source Integrated Development Environment (IDE) extensions, such as for Visual Studio Code and JetBrains, and an open-source CLI that lets developers leverage custom AI coding agents.

This guide walks through how to use Lemonade Server with Continue Hub and the VS Code extension for code generation, editing, and chat capabilities, all running locally on your AMD PC.

Prerequisites

Before you start, make sure you have the following:

Software Requirements

Hardware Requirements

For best results, a code-tuned model with at least 20B parameters is required. To run such a model:

Setup

Configuring with Continue Hub

  1. Install Models Locally
    • Use the Model Manager or lemonade-server CLI to download your desired model, for example:

      lemonade-server pull <model-name>
      

      Example downloading Qwen3-Coder:

      lemonade-server pull Qwen3-Coder-30B-A3B-Instruct-GGUF
      
  2. Open Continue Hub: Go to hub.continue.dev. Sign up if you are a new user.

  3. Add an Assistant: In the Assistants section, click the + next to any available assistant (e.g., llama.cpp).

  4. Add Models to Your Assistant
    • Browse the list of supported models and click the + next to the model name to add it to your assistant.
    • All models shown must be installed locally using the command provided in Step 1. See the supported models list.
    • When you sign in to the Continue extension in your IDE, your configuration will automatically sync.

Example configuration screen: Continue Configuration Settings

For more details, see the Continue Assistants Guide.

Setting Up Continue Extension in VS Code

  1. Go to Extensions Marketplace: In VS Code, click the Extensions icon in the Activity bar (default is on the left).
  2. Add “Continue”: Type “Continue” in the search box. Click “Install” on the Continue extension entry.

    Example marketplace screen: Continue Extension in VS Code Marketplace

  3. Open Continue in VS Code: After installation completes, the Continue logo appears in the Activity bar. Click it to open the extension.
  4. Sign In to Continue: Click the gear icon, then the Sign In button. A browser window will open for you to log in.
  5. Select Your Assistant: Once signed in, use the drop-down menu to select the assistant you added earlier (e.g., llama.cpp).

    Example extension screen: Configuration Added to Continue

Working with Continue.dev

Continue provides three interaction modes for different development tasks:

  1. Chat: Code explanations, debugging discussions, architecture planning
  2. Plan: Provides a safe environment with read-only tools for exploring code and planning changes
  3. Agent: Multi-file refactoring, large-scale changes across projects

Continue Modes Interface

See the Continue Documentation for detailed descriptions.

Examples

Example 1: Chat Mode - Building an Asteroids Game

In this example, we’ll use Qwen3-Coder-30B-A3B-Instruct-GGUF model to build a Python game.

Input: I want to create an asteroids game using PyGame. What guidelines should I follow in the code to do so?

Continue Chat Asteroids

The model provides a basic framework for an Asteroids game. You can then prompt it to provide you some sample code to get started.

Input: Provide me a basic implementation to get started.

Continue Chat Asteroids Example Code

In the top-right corner, you can click the “Create file” to move the code from the chat window to a Python file and save it. To run, install pygame and execute the code with python main.py.

Example 2: Plan Mode - Analysis of the Game

In this example, we’ll use Plan mode to have the LLM analyze your code and provide feedback. Plan mode reviews your code and suggests improvements, but does not modify your files.

To use Plan mode with large files, increase Lemonade Server’s context size:

  1. Stop Lemonade Server: Use the tray icon to “Quit Lemonade” or close any running Lemonade Server processes.
  2. Restart with higher context size: Open a terminal and run:

     lemonade-server serve --ctx-size 8192
    
  3. Use Plan mode in VS Code: Select the “Plan” option in Continue, enter your prompt and press Alt+Enter to include the currently active file as context.

Input: What improvements could be made to this game?

Continue Plan Asteroids

Example 3: Agent Mode - Improving the Game

Lastly, we’ll use Agent Mode to take action to change the code to implement improvements.

Continue Agent Asteroids

Here, we can see that the agent edited the code in main.py to improve the gameplay and add colors.

Best Practices

Setup & Configuration

Development Workflow

Common Issues

Model not appearing in Continue

Slow response times

Missing error handling in generated code

Inconsistent code style

Resources