continue icon indicating copy to clipboard operation
continue copied to clipboard

StackOverflow query returns invalid JSON

Open alexsoyes opened this issue 1 year ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: MacOS M2
- Continue: Latest
- IDE: VSCode

Description

When trying to use /so command.

To reproduce

  1. Go to the chat
  2. Type "/so"
  3. Hit enter
  4. Wait :)

Log output

Continue error: Unexpected token '<', " <html><hea"... is not valid JSON

console.ts:137 [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "8de66310-6e5c-400a-8d39-61e12af81c51",
    "messageType": "command/run",
    "data": {
      "input": "/so ",
      "history": [
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "/so "
            }
          ]
        }
      ],
      "modelTitle": "Code LLAMA",
      "slashCommandName": "so",
      "contextItems": [],
      "historyIndex": 0,
      "selectedCode": []
    }
  }
}

alexsoyes avatar Mar 19 '24 14:03 alexsoyes