continue icon indicating copy to clipboard operation
continue copied to clipboard

Repeated Config refreshed popups

Open Octanoz opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 1.1.52
- IDE version: VS Code 1.101.2
- Model:
- config:
  
name: standard-config
version: 0.0.2
schema: v1
ollama_defaults:
  provider: ollama
  apiBase: http://localhost:11434
ac_model:
  defaultCompletionOptions:
    temperature: 0.1
    mirostat: 2
  roles:
    - autocomplete
edit_model:
  defaultCompletionOptions:
    mirostat: 2
  roles:
    - edit
    - apply
regular_model:
  defaultCompletionOptions:
    mirostat: 2
tools_model:
  defaultCompletionOptions:
    temperature: 0.2
    mirostat: 2
deterministic_model:
  defaultCompletionOptions:
    temperature: 0.1
    mirostat: 2
    topP: 0.3
    topK: 20
    frequencyPenalty: 0.5
reasoning_model:
  defaultCompletionOptions:
    contextLength: 32768
    maxTokens: 5000
    temperature: 0.2
    mirostat: 2
    topP: 0.8
    topK: 30
    frequencyPenalty: 1.2
  roles:
    - chat
creative_model:
  defaultCompletionOptions:
    temperature: 0.7
    mirostat: 0
models:
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
  - name: Qwen2.5-Coder 1.5B
    provider: ollama
    model: qwen2.5-coder:1.5b-base
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
  - name: Qwen2.5-Coder 1.5B
    provider: ollama
    model: qwen2.5-coder:1.5b-base
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
  - name: Qwen2.5-Coder 1.5B
    provider: ollama
    model: qwen2.5-coder:1.5b-base
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
  - name: Qwen2.5-Coder 1.5B
    provider: ollama
    model: qwen2.5-coder:1.5b-base
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
  - name: Qwen2.5-Coder 1.5B
    provider: ollama
    model: qwen2.5-coder:1.5b-base
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Llama 3.1 8B
    provider: ollama
    model: llama3.1:8b
    roles:
      - chat
      - edit
      - apply
  - name: Qwen2.5-Coder 1.5B
    provider: ollama
    model: qwen2.5-coder:1.5b-base
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    model: nomic-embed-text:latest
    roles:
      - embed
  - name: Cogito
    provider: ollama
    apiBase: http://localhost:11434
    model: cogito
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
    chatOptions:
      baseSystemMessage: Enable deep thinking subroutine.
  - name: Qwen 3
    provider: ollama
    apiBase: http://localhost:11434
    model: qwen3:14b
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
  - name: Devstral
    provider: ollama
    apiBase: http://localhost:11434
    model: devstral-small
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
  - name: DeepSeek R1 14b
    provider: ollama
    apiBase: http://localhost:11434
    model: deepseek-r1:14b
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
  - name: DeepSeek R1 8b
    provider: ollama
    apiBase: http://localhost:11434
    model: deepseek-r1:8b
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
  - name: DeepCoder
    provider: ollama
    apiBase: http://localhost:11434
    model: deepcoder
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
  - name: OpenThinker
    provider: ollama
    apiBase: http://localhost:11434
    model: openthinker
    defaultCompletionOptions:
      contextLength: 32768
      maxTokens: 5000
      temperature: 0.2
      mirostat: 2
      topP: 0.8
      topK: 30
      frequencyPenalty: 1.2
    roles:
      - chat
  - name: Falcon3
    provider: ollama
    apiBase: http://localhost:11434
    model: Falcon3:10b
    defaultCompletionOptions:
      mirostat: 2
  - name: Llama3.1
    provider: ollama
    apiBase: http://localhost:11434
    model: llama3.1
    defaultCompletionOptions:
      mirostat: 2
  - name: Qwen-2.5-Coder-Large
    provider: ollama
    apiBase: http://localhost:11434
    model: qwen2.5-coder:14b
    defaultCompletionOptions:
      mirostat: 2
  - name: Qwen-2.5-Coder
    provider: ollama
    apiBase: http://localhost:11434
    model: qwen2.5-coder
    defaultCompletionOptions:
      mirostat: 2
  - name: Hermes3
    provider: ollama
    apiBase: http://localhost:11434
    model: hermes3
    defaultCompletionOptions:
      temperature: 0.2
      mirostat: 2
  - name: Winnie the Pooh
    provider: ollama
    apiBase: http://localhost:11434
    model: yi-coder
    defaultCompletionOptions:
      mirostat: 2
  - name: ExaOne3.5
    provider: ollama
    apiBase: http://localhost:11434
    model: exaone3.5
    defaultCompletionOptions:
      mirostat: 2
  - name: Qwen-2.5 AC
    provider: ollama
    apiBase: http://localhost:11434
    model: qwen2.5-coder:3b
    defaultCompletionOptions:
      temperature: 0.1
      mirostat: 2
    roles:
      - autocomplete
  - name: Llama3.2
    provider: ollama
    apiBase: http://localhost:11434
    model: Llama3.2
    defaultCompletionOptions:
      temperature: 0.1
      mirostat: 2
    roles:
      - autocomplete
  - name: StarCoder AC
    provider: ollama
    apiBase: http://localhost:11434
    model: starcoder2
    defaultCompletionOptions:
      temperature: 0.1
      mirostat: 2
    roles:
      - autocomplete
  - name: Nomic Embed
    provider: ollama
    apiBase: http://localhost:11434
    model: nomic-embed-text
    roles:
      - embed
  
  OR link to assistant in Continue hub:

Description

Config refreshed popup shows repeatedly. config.yaml is updated in the background

To reproduce

As far as I can tell this happens whenever I am in local assistant setting.

I recently cleaned up my local models but hadn't updated the config.yaml so the logs show that the extension is looking for models and not finding them.

Then at some point apparently there is a decision to apply some standard local configuration and as you can see from the yaml it adds the llama 3.1 8b and qwen2.5-coder 1.5b models. I actually do have llama 3.1 but I only a 3b and, I think, 12b for the qwen coder model. But these added models then also result in "not found" logs and the whole thing just cascades.

I'll fix up the yaml myself now, this was obviously in principle a mistake on my part, and see if there is any more config refreshed messages but this just doesn't seem like the desired behaviour for this scenario.

Log output

VS Code console logs has dozens upon dozens of the following 2:


log.ts:460   ERR [Extension Host] ERROR: The system was unable to find the specified registry key or value.
error	@	log.ts:460



console.ts:137 [Extension Host] ERROR: The system was unable to find the specified registry key or value.
J1s	@	console.ts:137


With these sprinkled in between:


[Extension Host] The model "qwen2.5-coder:1.5b-base" was not found. To download it, run `ollama run qwen2.5-coder:1.5b-base`.

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: The model "qwen2.5-coder:1.5b-base" was not found. To download it, run `ollama run qwen2.5-coder:1.5b-base`.
	at customFetch2 (c:\Users\rheye\.vscode\extensions\continue.continue-1.1.52-win32-x64\out\extension.js:141364:25)
	at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
	at async withExponentialBackoff (c:\Users\rheye\.vscode\extensions\continue.continue-1.1.52-win32-x64\out\extension.js:137055:27)



[Extension Host] The model "llama3.1:8b" was not found. To download it, run `ollama run llama3.1:8b`.

Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined

Error: The model "llama3.1:8b" was not found. To download it, run `ollama run llama3.1:8b`.
	at customFetch2 (c:\Users\rheye\.vscode\extensions\continue.continue-1.1.52-win32-x64\out\extension.js:141364:25)
	at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
	at async withExponentialBackoff (c:\Users\rheye\.vscode\extensions\continue.continue-1.1.52-win32-x64\out\extension.js:137055:27)

Octanoz avatar Jun 30 '25 07:06 Octanoz

Can confirm that this was triggered by both mismatches in local yaml and the assistant created online. Fixing the local yaml manually and removing local models that no longer existed on the SSD from the assistant stopped the pop-ups and the local yaml still looks the way I left it this morning.

Please feel free to close the issue.

Octanoz avatar Jun 30 '25 14:06 Octanoz