Skip to content

bug? Ollama does not work as a provider unless configured with an API key #227

Description

@johnsaigle

I configured my opencode.json file to add Ollama as a provider. However, it only worked if I:

  • ran opencode auth login
  • chose "Other"
  • Added an API key like "abc" (providing an empty string was forbidden)

This should probably be fixed -- I imagine a lot of people will set up Ollama to work on localhost or LAN without requiring an API key.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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