Skip to content

Ollama does not use apikey when using custom url #7902

@ItsOnlyBinary

Description

@ItsOnlyBinary

App Version

3.28.0

API Provider

Ollama

Model Used

N/A

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

Open settings.
Point your Ollama Base URL to a request catcher instance.
Set an Ollama API Key.
Save -> Done.
Reopen settings.

💥 Outcome Summary

In the request catcher instance you will see GET requests for /api/tags without an Authorization header.

If the UI accepts an API Key it should be used in the requests.

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions