opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Ollama custom provider error : agent configured model is not valid

Open jmtemmos opened this issue 1 day ago • 2 comments

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

jmtemmos avatar Jan 16 '26 19:01 jmtemmos