Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
2 of 3 tasks
itissid opened this issue Jan 29, 2025 · 1 comment
Open
2 of 3 tasks

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

itissid opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
area:autocomplete Relates to the auto complete feature kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@itissid
Copy link

itissid commented Jan 29, 2025

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

@itissid
Copy link
Author

itissid commented Jan 29, 2025

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...

@dosubot dosubot bot added area:autocomplete Relates to the auto complete feature kind:bug Indicates an unexpected problem or unintended behavior labels Jan 29, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:autocomplete Relates to the auto complete feature kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants