Neovate Code Access

Configure the site address, independent keys and available models in Neovate Code.

Neovate Code accesses this site through a custom Provider. Provider name, model display name, and gateway model ID are different fields.

Step one: Installation and preparation

npm install -g @neovate/code

Press Quick Start to safely set DUNDUN_API_KEY of the current terminal and query the models that support programming tools. For operating environment requirements, see Neovate official project.

Step 2: Merge configuration

Back up ~/.neovate/config.json, merge the following configurations, and replace the two MODEL_ID with the same real ID:

{
  "model": "dundun/MODEL_ID",
  "provider": {
    "dundun": {
      "name": "DunDun",
      "env": [
        "DUNDUN_API_KEY"
      ],
      "api": "https://dunduntoken.com/v1",
      "apiFormat": "openai",
      "models": {
        "MODEL_ID": {
          "name": "DunDun model"
        }
      }
    }
  }
}

env is the variable name array, api is the base address. dundun/ is the client prefix and is not added to the site model ID. Keep other provider and project configurations.

Step 3: Startup and Verification

Run neovate in the terminal where the variables are set, and confirm the selection with /model. First reply OK, then read-only explain the test item, and go to Call Record to check the request. Finally, verify the patch and tool return respectively.

FAQ

Configuration parsing fails checking JSON commas and quotes; provider does not explicitly check if file belongs to current user and restart. 401 Check whether the variable is exported; the model does not exist. Check the consistency of the configuration key with the default model. When the tool reports an error, it first removes unnecessary reasoning and sampling parameters, retaining the desensitized error checking model capability.

Return to integration directory · Model selection