Using Crosshatch in Continue

Continue is a popular open-source AI code assistant for VSCode and JetBrains. It is extremely easy to use with Crosshatch.

  1. First, create a free Crosshatch account, and visit the API Keys page.

  2. Generate a new API Key for "Continue" and copy the key to your clipboard

  3. Next, find the Model Mix from the Crosshatch Mixes directory that you wish to use.

  4. Copy the mix name from the Crosshatch site. For this example, we'll use the LMSys Coding Leaderboard mix.

  5. From the Continue sidebar in VSCode, tap the Gear icon to "Configure Continue"

  6. In the Continue JSON settings, add the following to your models array, ensuring "model" and "title" match the model you selected in Step 4.

        {
          "model": "lmsys-coding",
          "title": "lmsys-coding",
          "provider": "openai",
          "apiKey": "<your-crosshatch-api-key>",
          "apiBase": "https://api.crosshatch.app/v1"
        }

  7. When you're done, your settings JSON should look like the following:

Test the integration

Open the Continue Chat panel. In the model dropdown, select your model (lmsys-coding) and ask a question.

That's it!

Now you're free to use the great AI features in Continue with the powerful model mixes from Crosshatch.

If something didn't quite work, we're ready to help on Discord and X.

Last updated