Skip to content

5 minutes timeout for http connection in VS Code chat when using ollama extension. #23

Description

@Zegpi

When using the ollama extension, if the model does not return the first token before 5 minutes have elapsed, the connection is dropped and the following error is retuned.
Sorry, your request failed. Please try again. Client Request Id: 14f49877-009d-43f9-ad4e-0d8a4b5e837d Reason: fetch failed: TypeError: fetch failed

If the ollama extension is uninstalled or disabled and the old (and soon to be deprecated) method is used (setting ollama as a provider for copiltot with the http://localhost:11434 address), no such timeout exists (or it is much much longer and therefore not an issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions