TypeError: undefined is not an object (evaluating 'input.model.providerID') #7574

Closed
opened 2026-02-16 18:07:37 -05:00 by yindo · 7 comments
Owner

Originally created by @ArielSulton on GitHub (Jan 25, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

TypeError: undefined is not an object (evaluating 'input.model.providerID')

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @ArielSulton on GitHub (Jan 25, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description TypeError: undefined is not an object (evaluating 'input.model.providerID') ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:07:37 -05:00
yindo closed this issue 2026-02-16 18:07:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2026):

This issue doesn't appear to have clear duplicates in the existing issue tracker. The error TypeError: undefined is not an object (evaluating 'input.model.providerID') suggests that the input.model object is undefined when code is trying to access its providerID property.

If you could provide additional context such as:

  • Steps to reproduce
  • Your OpenCode version
  • Your operating system and terminal
  • Any relevant logs (run with --print-logs)
  • Your opencode.json configuration

This would help determine the root cause and whether this is related to model initialization or configuration loading.

@github-actions[bot] commented on GitHub (Jan 25, 2026): This issue doesn't appear to have clear duplicates in the existing issue tracker. The error `TypeError: undefined is not an object (evaluating 'input.model.providerID')` suggests that the `input.model` object is undefined when code is trying to access its `providerID` property. If you could provide additional context such as: - Steps to reproduce - Your OpenCode version - Your operating system and terminal - Any relevant logs (run with `--print-logs`) - Your opencode.json configuration This would help determine the root cause and whether this is related to model initialization or configuration loading.
Author
Owner

@rekram1-node commented on GitHub (Jan 25, 2026):

can u share:

opencode debug config

?

@rekram1-node commented on GitHub (Jan 25, 2026): can u share: opencode debug config ?
Author
Owner

@Lpaydat commented on GitHub (Jan 25, 2026):

I’m also having the same issue. Everything was just fine an hour ago. When I came back to work, every request ended up like this (no matter which model I used).

@Lpaydat commented on GitHub (Jan 25, 2026): I’m also having the same issue. Everything was just fine an hour ago. When I came back to work, every request ended up like this (no matter which model I used).
Author
Owner

@rekram1-node commented on GitHub (Jan 25, 2026):

you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this

opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version

@rekram1-node commented on GitHub (Jan 25, 2026): you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version
Author
Owner

@Lpaydat commented on GitHub (Jan 25, 2026):

you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this

opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version

This really fixed the issue. Thank you :)

@Lpaydat commented on GitHub (Jan 25, 2026): > you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this > > opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version This really fixed the issue. Thank you :)
Author
Owner

@lucasrueda commented on GitHub (Jan 25, 2026):

Had the same issue. This worked

you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this

opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version

@lucasrueda commented on GitHub (Jan 25, 2026): Had the same issue. This worked > you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this > > opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version
Author
Owner

@ArielSulton commented on GitHub (Jan 25, 2026):

you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this

opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version

Thankss, thats perfectly worked! :)

@ArielSulton commented on GitHub (Jan 25, 2026): > you almsot certainly have an anthropic plugin version pinned in ur opencode config, remove this > > opencode will handle it automatically remove that anthropic plugin from your config its baked in and works, rn you are setting it to a version that isnt compatible w ur opencode version Thankss, thats perfectly worked! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7574