Skip to content

Ollama on Windows #7

@Govorunb

Description

@Govorunb

Tauri uses http://tauri.localhost for the webview origin on Windows, which Ollama forgor to add to allowed origins.

Workaround: set OLLAMA_ORIGINS="http://tauri.localhost" && ollama serve or set in user profile if you're hosting the server with the GUI app.


I tried to set the origin to tauri://locahost (allowed by Ollama) on the OAI client, but it didn't seem to change anything (probably a header we're not allowed to change).

Technically if we use localhost to avoid webkit2gtk on Linux it would also solve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions