GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bug? Ollama does not work as a provider unless configured with an API key · Issue #227 · anomalyco/opencode

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

New issue
Copy link
New issue
Copy link
Closed
Closed
bug? Ollama does not work as a provider unless configured with an API key#227
Copy link
Assignees
thdxr

Description

@johnsaigle
johnsaigle
opened on Jun 20, 2025
Issue body actions

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

  1. thdxr commented on Jun 20, 2025

    @thdxr
    thdxr
    on Jun 20, 2025
    Member
    More actions

    hm i didn't need to do that let me double check

  2. johnsaigle commented on Jun 20, 2025

    @johnsaigle
    johnsaigle
    on Jun 20, 2025
    Author
    More actions

    Thanks, it's possible actually that the JSON was mangled (trailing comma at the end of the models entry).
    That might have been failing silently. I thought it was adding the API key that fixed this but I might have forgotten the exact order of how I got things set up.

  3. thdxr commented on Jun 20, 2025

    @thdxr
    thdxr
    on Jun 20, 2025 – with Linear
    Member
    More actions

    i'll add proper config validation

    Reacted by John Saigle and joe
  4. thdxr
    self-assigned this
    on Jun 20, 2025
  5. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    rekram1-node
    on Dec 28, 2025
    Member
    More actions

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

  6. rekram1-node
    closed this as completedon Dec 28, 2025
  7. gergesh
    added 2 commits that reference this issue on Jan 1, 2026

    fix(tui): use unwrap() for KV store serialization and add ready guard

    This issue will close once commit a6f5d33 is merged into the 'dev' branch.
    a6f5d33

    feat(tui): persist sidebar section expansion states across sessions

    This issue will close once commit 4811302 is merged into the 'dev' branch.
    4811302
  8. andreipromarketing-dev
    added a commit that references this issue on Apr 7, 2026

    fix: correct TIMESTAMP environment variable syntax in observe.sh

    This issue will close once commit 1f74889 is merged into the 'dev' branch.
    1f74889
  9. bussard76
    added a commit that references this issue on May 12, 2026

    Merge pull request anomalyco#227 from different-ai/add/restart-openco…

    706c9da
  10. sepo-eng
    added a commit that references this issue on Aug 13, 2026

    feat(compaction): clearer summary prompt structure for smaller models (…

    27a17c0
  11. murtaza64
    added 2 commits that reference this issue on Oct 20, 2026

    feat(es-app): written attention answers on Home (anomalyco#227)

    53056f1

    chore(es-app): integrate tool runs/prompt nav (anomalyco#228) with wr…

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

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.