open-webui / docs

https://docs.openwebui.com
https://docs.openwebui.com
141 stars 143 forks source link

continue.dev integration documentation incorrect or outdated #255

Open nodomain opened 2 weeks ago

nodomain commented 2 weeks ago

Bug Report

Installation Method

Installed via VSCode extension continue.dev (v0.8.55)

Environment

Confirmation:

Expected Behavior:

The continue.dev integration should work as described in the official documentation.

Actual Behavior:

Multiple errors when trying to use the integration:

Description

Bug Summary: The continue.dev integration as documented in OpenWebUI docs fails to work with any of the suggested configurations.

Reproduction Details

Steps to Reproduce:

  1. Install continue.dev VSCode extension
  2. Configure continue.dev according to the documentation:
  3. Try to use the model in VSCode

Logs and Screenshots

VSCode Extension Logs:

Error generating autocompletion: Error: HTTP 404 Not Found from https://[redacted]/ollama/v1/completions
{"detail":"Not Found"}

Alternative configuration attempts also failed:

HTTP 400 Bad Request from https://[redacted]/ollama/api/generate
{"detail":"Model 'model-name' was not found"}

Additional Information

{"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.293386453Z","response":"print","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.293400088Z","response":"(\"","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.298295184Z","response":"Hello","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.311280454Z","response":",","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.324085076Z","response":" World","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.336842177Z","response":"!\")","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.34973698Z","response":"\n","done":false} {"model":"granite-code:latest","created_at":"2024-10-29T21:26:02.362694032Z","response":"","done":true,"done_reason":"stop","context":[9927,44,203,2538,312,4281,12000,10896,328,4865,203,203,10963,44,203,1216,440,8279,30,10896,15981,203],"total_duration":2520269464,"load_duration":2403134579,"prompt_eval_count":15,"prompt_eval_duration":25726000,"eval_count":8,"eval_duration":90332000}

- Models are available and listed correctly when querying the API directly

```json
{
    "data": [
        {
            "created": 1730237091,
            "id": "granite-code:latest",
            "object": "model",
            "owned_by": "openai"
        },
        {
            "created": 1730237091,
            "id": "deepseek-coder:latest",
            "object": "model",
            "owned_by": "openai"
        },
        {
            "created": 1730237091,
            "id": "deepseek-coder-v2:16b",
            "object": "model",
            "owned_by": "openai"
        },
        {
            "created": 1730237091,
            "id": "codestral:22b",
            "object": "model",
            "owned_by": "openai"
        },
        {
            "created": 1730237091,
            "id": "starcoder2:3b",
            "object": "model",
            "owned_by": "openai"
        },
        {
            "created": 1730237091,
            "id": "command-r:35b",
            "object": "model",
            "owned_by": "openai"
        },
        {
            "created": 1730237091,
            "id": "gemma2:latest",
            "object": "model",
            "owned_by": "openai"
        }
    ],
    "object": "list"
}

Note

All steps have been verified and the issue persists across different configuration attempts. The API works when tested directly, suggesting this is specifically a continue.dev integration issue.

nodomain commented 2 weeks ago

Perhaps related? https://github.com/open-webui/open-webui/discussions/3645