Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unknown message type: toggleDevTools #3859

Open
2 of 3 tasks
mosinnik opened this issue Jan 27, 2025 · 5 comments
Open
2 of 3 tasks

Unknown message type: toggleDevTools #3859

mosinnik opened this issue Jan 27, 2025 · 5 comments
Assignees
Labels
ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"

Comments

@mosinnik
Copy link

mosinnik commented Jan 27, 2025

Before submitting your bug report

Relevant environment info

- OS:windows 10
- Continue version: 0.0.86
- IDE version: idea 2024.2.3 Ultimate (#IU-242.23339.11)
- Model:autodetect
- config.json:
  
{
  "models": [
    {
      "model": "claude-3-5-sonnet-latest",
      "provider": "anthropic",
      "apiKey": "",
      "title": "Claude 3.5 Sonnet"
    },
    {
      "apiBase": "http://localhost:1234/v1/",
      "model": "AUTODETECT",
      "title": "Autodetect",
      "provider": "lmstudio"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": ""
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}

Description

when I got Error window with "Connection error."

Image

Trying to click on "View Logs" nonthing happen in UI but I got messages in logs (I clicked 4 times):

2025-01-27 16:14:32,737 [ 762045]   INFO - STDOUT - Unknown message type: toggleDevTools
2025-01-27 16:14:32,966 [ 762274]   INFO - STDOUT - Unknown message type: toggleDevTools
2025-01-27 16:14:33,137 [ 762445]   INFO - STDOUT - Unknown message type: toggleDevTools
2025-01-27 16:14:33,325 [ 762633]   INFO - STDOUT - Unknown message type: toggleDevTools

and no stacktraces

To reproduce

No response

Log output

@sestinj sestinj self-assigned this Jan 27, 2025
@dosubot dosubot bot added ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior labels Jan 27, 2025
@mosinnik
Copy link
Author

also almost same with click on "View History"

2025-01-27 16:24:12,508 [1341816]   INFO - STDOUT - Unknown message type: viewHistory
2025-01-27 16:24:12,712 [1342020]   INFO - STDOUT - Unknown message type: viewHistory
2025-01-27 16:24:12,868 [1342176]   INFO - STDOUT - Unknown message type: viewHistory

@RomneyDa
Copy link
Collaborator

@mosinnik
Dev tools error fixed by #3886

@RomneyDa
Copy link
Collaborator

@mosinnik are you able to curl the model? e.g.
https://lmstudio.ai/docs/api/endpoints/rest#post-apiv0chatcompletions

@RomneyDa
Copy link
Collaborator

@mosinnik just to be clear is this issue only referring to the dev tools bug or also the connection error?

@mosinnik
Copy link
Author

mosinnik commented Jan 29, 2025

@RomneyDa curl work well, connection error window still appears in continue UI.
From core.log:

[2025-01-29T18:12:05] Error running handler for "llm/streamChat":  Error: Connection error.
[2025-01-29T18:12:05] Error: Connection error. 

from promt.log:

##### Completion options #####
{
  "contextLength": 8096,
  "model": "qwen2.5-coder-3b-instruct",
  "maxTokens": 4096
}

##### Request options #####
{}

##### Prompt #####
<user>




##### Completion options #####
{
  "contextLength": 8096,
  "model": "qwen2.5-coder-3b-instruct",
  "maxTokens": 4096
}

##### Request options #####
{}

##### Prompt #####
The user has made a request to run a shell command. Their description of what it should do is:

"/cmd dsvsdvsd  dsvsd"

Please write a shell command that will do what the user requested. Your output should consist of only the command itself, without any explanation or example output. Do not use any newlines. Only output the command that when inserted into the terminal will do precisely what was requested. Here is the command:

Completion:
```bash
"/cmd dsvsdvsd  dsvsd"




##### Completion options #####
{
  "contextLength": 8096,
  "model": "qwen2.5-coder-3b-instruct",
  "maxTokens": 12
}

##### Request options #####
{}

##### Prompt #####
<user>




More info: in autodetect I see that Continue see all available model in LM Studio, so it partially work

@RomneyDa RomneyDa closed this as completed Feb 3, 2025
@RomneyDa RomneyDa reopened this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage"
Projects
None yet
Development

No branches or pull requests

3 participants