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 — Ollama custom provider error : agent configured model is not valid · Issue #8950 · anomalyco/opencode

Ollama custom provider error : agent configured model is not valid #8950

New issue
Copy link
New issue
Copy link
Closed
Closed
Ollama custom provider error : agent configured model is not valid#8950
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't working

Description

@jmtemmos
jmtemmos
opened on Jan 16, 2026
Issue body actions

Description

Any agents using ollama custom models raises a message : "agent configured model is not valid"

Then, if using it despite the warning, the following message is displayed:

ProviderModelNotFoundError: ProviderModelNotFoundError

subagents calls / tasks are not called.

The whole multi-agent system is consequently broken.

Of course, it was previously working with the same config.

Please help :)

Plugins

"mohak34/opencode-notifier@latest", "opencode-ignore", "opencode-beads", "@franlol/[email protected]", "[email protected]", "[email protected]", "@tarquinen/opencode-dcp@latest"

OpenCode version

1.1.23

Steps to reproduce

  1. open opencode
  2. select with tab an agent which model is based on custom ollama

Screenshot and/or share link

No response

Operating System

manjaro linux

Terminal

kitty

Activity

  1. jmtemmos
    added
    bugSomething isn't working
    on Jan 16, 2026
  2. jmtemmos
    changed the title [-]Ollama custum provide : agent configured model is not valid[/-] [+]Ollama custom provider error : agent configured model is not valid[/+] on Jan 16, 2026
  3. github-actions
    assigned
    rekram1-node
    on Jan 16, 2026
  4. github-actions commented on Jan 16, 2026

    @github-actions
    github-actionsBot
    on Jan 16, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Using local Ollama models doesnt return any results. #7083: Using local Ollama models doesnt return any results (similar Ollama model configuration issues)
    • Custom subagents with explicit model config throw ProviderModelNotFoundError #5623: Custom subagents with explicit model config throw ProviderModelNotFoundError (agent model configuration validation)
    • ProviderModelNotFoundError for custom provider in GitHub Action (worked until 07 Jan) #7958: ProviderModelNotFoundError for custom provider in GitHub Action (custom provider model validation failures)
    • Custom OpenAI-compatible provider options not being passed to API calls #5674: Custom OpenAI-compatible provider options not being passed to API calls (custom provider configuration issues)
    • ProviderModelNotFoundError: minimax/MiniMax-M2.1 #6691: ProviderModelNotFoundError: minimax/MiniMax-M2.1 (similar model validation errors in different context)

    Feel free to ignore if none of these address your specific case.

  5. jmtemmos commented on Jan 17, 2026

    @jmtemmos
    jmtemmos
    on Jan 17, 2026
    Author
    More actions

    Yes probably related to them. It seems to be a problem with a wide range of side effects. still not working in 1.1.125

  6. jmtemmos commented on Jan 17, 2026

    @jmtemmos
    jmtemmos
    on Jan 17, 2026
    Author
    More actions

    Ok. Problem solved.

    all of a sudden, since probably version 1.1.123, it appears that in agent markdown conf:

    model: ollama/gpt-oss:20b-opencode

    does not work anymore.

    Now doubles quotes are required. So replacing by

    model: "ollama/gpt-oss:20b-opencode"

    fixed the problem for me :)

    Had to do it in all agent markdown files.

    Hope it will help

    Reacted by Askar, zutto, Luke Mattfeld, aikakira and 林博仁 Buo-ren Lin
  7. ezterry commented on Jan 31, 2026

    @ezterry
    ezterry
    on Jan 31, 2026
    More actions

    Yes quotes fixed it, ideally https://opencode.ai/docs/agents/#markdown is updated to show this if this is intended

  8. rekram1-node commented on Jan 31, 2026

    @rekram1-node
    rekram1-node
    on Jan 31, 2026
    Member
    More actions

    The quotes shouldn't be required, I think there was a frontmatter bug but it should just work fine without them on latest

  9. ezterry commented on Jan 31, 2026

    @ezterry
    ezterry
    on Jan 31, 2026
    More actions

    ok I can confirm re built container today 1.1.48 works the one from 6 days ago did not

  10. github-actions commented on Apr 2, 2026

    @github-actions
    github-actionsBot
    on Apr 2, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  11. github-actions
    closed this as completedon Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't working

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.