Skip to content

.continuerc.json not overriding config.json for Android Studio #3892

Open

Description

@itissid

Before submitting your bug report

Relevant environment info

- OS: Mac OS
- Continue version: 0.0.86
- IDE version: Android: AndroidStudio2024.1
- Model: _
- config.json:

Description

Expected:
I use two auto complete configs: follows:

"tabAutocompleteModel": {
    "title": "Qwen Tab Autocomplete Model",
    "model": "qwen2.5-coder:1.5b-base",
    "provider": "ollama",
    "apiBase": "https://192.168.185:11434/",
    "requestOptions": {
      "headers": {
        "verifySsl": "false"
      },
      "caBundlePath": "/Users/sid/.ssh/truenas_npm_continue_dev.pem",
      "clientCertificate": {
        "cert": "/Users/sid/.ssh/truenas_npm_continue_dev.crt",
        "key": "/Users/sid/.ssh/truenas_npm_continue_dev.key",
        "passphrase": "XXXX"
      }
    }
  }

OR

 "tabAutocompleteModel": {
    "title": "Mixtral Autocomplete Model",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": "XXXXX"
  },

I've tested the latest version of the plugin with VSCode version: 1.96.4 and using the latter in .continuerc.json override works as evidenced by idea's prompt logs as well as looking at my local GPU usage on my machine at vpn.itissid.me

To reproduce

  1. Open/Create a random Android Studio proeject.
  2. Create two tabAutocompleteModel configs
  3. Add one config to config.json and the other to .continuerc.json
  4. Observe prompt logs when you type.

Expected:
Prompt logs show the tab auto complete model being used is one in .continue.json
Actual:
Prompt logs show that the tab auto complete model being used is the one in config.json.

Log output

Activity

  1. itissid commented on Jan 29, 2025

    @itissid
    Author

    I have not tested the other model config overrides apart from tab autocomplete but it could be just with this key or others as well...

  2. added
    area:autocomplete
    kind:bug
    on Jan 29, 2025
  3. added
    os:mac
    on May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:autocompletekind:bugneeds-triageos:mac

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions