continue icon indicating copy to clipboard operation
continue copied to clipboard

Continue makes too many requests to ollama, blocking other network traffic

Open skakwy opened this issue 1 year ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS:Mac os
- Continue: v0.8.52
- IDE:vscode
-Config.json:
{
  "models": [
    {
      "model": "claude-3-5-sonnet-20240620",
      "provider": "anthropic",
      "apiKey": "",
      "title": "Claude 3.5 Sonnet"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": ""
  },
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "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

continue makes too many requests to ollama for getting the model list, so that the network is really slow or doesn't even work. For chromium I just get the error ERR_ADRESS_INVALID for safari loading a website does work, but it's really slow. That error not only makes the extension unusable but also most of the apps that I wanna use. As one can see in the log of ollama something, so continue, makes multiple requests per second. This goes on for the entire time continue and ollama are running simultaneously.

To reproduce

  1. Install vscode extension and run it
  2. Run ollama

Log output

For vscode:
Nothing to see here just the error that the swdc tracker couldn't send any data due to the problem caused by continue 
For ollama:
[GIN] 2024/09/20 - 01:45:33 | 200 |     272.708µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      536.75µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      30.083µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     124.334µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      65.458µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      49.958µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      30.125µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      44.708µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.708µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      57.167µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      27.792µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      27.292µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      16.333µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     123.292µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |       42.25µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      24.875µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      37.791µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      10.333µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      40.333µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      24.042µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      37.708µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     129.291µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      51.875µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      50.208µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      14.375µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      45.833µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |       81.25µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |          27µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      22.166µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      59.458µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      47.625µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      18.542µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      12.709µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      17.875µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      42.167µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |     246.208µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      67.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     193.417µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       21.25µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      15.209µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      55.125µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |          84µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       6.209µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     251.042µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      24.375µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       7.334µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       9.542µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      59.542µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |       36.25µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      35.417µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      41.959µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |         158µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |          19µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     127.791µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      17.209µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       9.166µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |        73.5µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      99.375µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      22.875µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      12.917µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      39.875µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      13.375µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      63.291µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      14.083µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      36.667µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      80.209µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      28.458µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      33.791µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      19.917µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      90.833µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      13.083µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      41.416µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      56.875µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      28.458µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |     102.334µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |     111.625µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      15.833µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      14.458µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      49.542µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |       31.75µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      30.917µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       6.792µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      52.209µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      20.959µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      28.834µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      25.625µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      26.291µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      13.542µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      10.375µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      33.292µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      43.583µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      12.625µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      79.291µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      28.875µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      39.416µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      15.083µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      36.917µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      96.416µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      49.625µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      15.625µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      24.917µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      57.333µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      54.166µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      31.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      23.333µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      43.333µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      79.167µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.208µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      87.833µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      25.084µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       10.75µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      10.333µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      43.416µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      56.958µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |     101.333µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.375µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      44.208µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      28.792µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.416µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       9.584µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      33.375µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      50.042µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      67.875µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      19.167µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      37.583µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.709µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      29.333µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |     152.417µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      23.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      26.125µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      12.084µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      18.666µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      12.042µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |          71µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |     100.625µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |        9.75µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |       45.75µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |          68µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |       30.75µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       12.25µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |        89.5µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      14.625µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      48.666µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |       39.75µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      17.542µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      62.666µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      38.667µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      11.667µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      74.209µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      16.333µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |       52.75µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      16.917µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       11.25µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      34.709µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      24.166µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      16.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      39.375µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      13.084µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      45.542µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       32.25µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      36.041µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       7.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      28.209µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      54.208µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      37.834µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      39.167µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      67.917µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |       8.583µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      21.292µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |      22.959µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |          50µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      17.209µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |        11.5µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      56.916µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      34.416µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      13.042µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 400 |       9.875µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      41.834µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      72.083µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      13.917µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |       37.75µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      10.708µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |          56µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      22.833µs |       127.0.0.1 | POST     "/api/show"
[GIN] 2024/09/20 - 01:45:33 | 200 |      57.709µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 200 |      49.292µs |       127.0.0.1 | GET      "/api/tags"
[GIN] 2024/09/20 - 01:45:33 | 400 |      10.334µs |       127.0.0.1 | POST     "/api/show"

skakwy avatar Sep 25 '24 10:09 skakwy

Hi @skakwy , thanks for the heads up here. I believe this has been resolved in latest pre-release: https://github.com/continuedev/continue/issues/2308#issuecomment-2367155970

I see you are on latest release however. So my short term fix would be to recommend that you install pre-release, and we'll get a hotfix shiped for main release ASAP.

Patrick-Erichsen avatar Sep 25 '24 14:09 Patrick-Erichsen

Nice I'll try it out later thanks

skakwy avatar Sep 25 '24 15:09 skakwy

I encountered a similar problem with the latest release (as of a few days ago):

  • numerous failed connection attempts to a locally hosted ollama
  • eventually exhausting available ports for opening new connections, resulting in EADDRINUSE upgrading to the pre-release version seems to have made the problem go away.

mrudat avatar Sep 28 '24 09:09 mrudat

Thanks for the feedback y'all! Sounds like this is resolved. If it comes up again, don't hesitate to re-open

sestinj avatar Sep 29 '24 20:09 sestinj