Skip to content

Claude Max not working #4660

Closed as not planned
Closed as not planned

Description

@JoshuaRileyDev

Description

I'm using the inbuilt claude max which I've re-logged in but unfortunately it's not working, I've tried restarting the terminal a few times but it doesn't seem like it's doing anything when I send the message, other models seem to work though but I like Sonnet 4.5 with my subscription

OpenCode version

1.0.105

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 23, 2025
  2. github-actions commented on Nov 23, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if this doesn't address your specific case.

  3. rekram1-node commented on Nov 23, 2025

    @rekram1-node
    Contributor

    can u run:

    opencode run --print-logs --model anthropic/<model that isnt working>

    and show me output?

  4. self-assigned this
    on Nov 23, 2025
  5. restray commented on Nov 23, 2025

    @restray

    Actually matching this incident for Claude API: https://status.claude.com/incidents/538r2y9cjmhk

  6. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 23, 2025
  7. JoshuaRileyDev commented on Nov 25, 2025

    @JoshuaRileyDev
    Author

    Do you know what the model name is for Sonnet 4.5?

  8. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Contributor

    @JoshuaRileyDev

    claude-sonnet-4-5

    You can also run opencode models to list models u have access to

  9. JoshuaRileyDev commented on Nov 25, 2025

    @JoshuaRileyDev
    Author

    ERROR 2025-11-25T18:29:25 +68ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:25 +0ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:27 +1842ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:27 +1ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:27 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:27 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:27 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:27 +0ms service=session.prompt step=2 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:27 +4ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:27 +1ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:27 +0ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:27 +5ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:27 +0ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:28 +427ms service=bash-tool shell=/bin/zsh bash tool using shell
    INFO 2025-11-25T18:29:28 +152ms service=session.processor process
    INFO 2025-11-25T18:29:28 +1ms service=bus type=session.status publishing
    ERROR 2025-11-25T18:29:28 +185ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:28 +2ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:30 +2074ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:30 +4ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:30 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:30 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:30 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:30 +0ms service=session.prompt step=3 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:30 +2ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:30 +0ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:30 +0ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:30 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:30 +0ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:31 +486ms service=bash-tool shell=/bin/zsh bash tool using shell
    ERROR 2025-11-25T18:29:31 +157ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:31 +0ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:31 +8ms service=session.processor process
    INFO 2025-11-25T18:29:31 +1ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:33 +1893ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:33 +0ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:33 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:33 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:33 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:33 +0ms service=session.prompt step=4 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:33 +2ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:33 +1ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:33 +0ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:33 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:33 +0ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:33 +398ms service=bash-tool shell=/bin/zsh bash tool using shell
    INFO 2025-11-25T18:29:33 +152ms service=session.processor process
    INFO 2025-11-25T18:29:33 +0ms service=bus type=session.status publishing
    ERROR 2025-11-25T18:29:33 +150ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:33 +0ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:35 +1750ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:35 +1ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:35 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:35 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:35 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:35 +0ms service=session.prompt step=5 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:35 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:35 +1ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:35 +0ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:35 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:35 +0ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:36 +481ms service=bash-tool shell=/bin/zsh bash tool using shell
    INFO 2025-11-25T18:29:36 +154ms service=session.processor process
    INFO 2025-11-25T18:29:36 +1ms service=bus type=session.status publishing
    ERROR 2025-11-25T18:29:36 +75ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:36 +0ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:37 +1418ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:37 +1ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:37 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:37 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:37 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:37 +0ms service=session.prompt step=6 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:37 +2ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:37 +0ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:37 +0ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:37 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:37 +0ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:38 +416ms service=bash-tool shell=/bin/zsh bash tool using shell
    INFO 2025-11-25T18:29:38 +40ms service=session.processor process
    INFO 2025-11-25T18:29:38 +0ms service=bus type=session.status publishing
    ERROR 2025-11-25T18:29:38 +271ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:38 +2ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:39 +1410ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:39 +2ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:39 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:39 +1ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:39 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:39 +0ms service=session.prompt step=7 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:39 +6ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:39 +1ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:39 +1ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:39 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:39 +0ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:40 +440ms service=bash-tool shell=/bin/zsh bash tool using shell
    INFO 2025-11-25T18:29:40 +172ms service=session.processor process
    INFO 2025-11-25T18:29:40 +2ms service=bus type=session.status publishing
    ERROR 2025-11-25T18:29:40 +71ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection
    ERROR 2025-11-25T18:29:40 +0ms service=default e=Invalid JSON response rejection
    INFO 2025-11-25T18:29:42 +1713ms service=snapshot hash=086a9252ff9d8331db1e500422b5a71c05ff8e16
    cwd=/Users/joshuariley/Projects/Claude/gangway/app git=/Users/joshuariley/.local/share/opencode/snapshot/4ae91892f9c48d55ca1d8fc75fbcdbcf45ed5708 tracking
    INFO 2025-11-25T18:29:42 +1ms service=bus type=message.part.updated publishing
    INFO 2025-11-25T18:29:42 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:42 +2ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:42 +0ms service=bus type=session.status publishing
    INFO 2025-11-25T18:29:42 +0ms service=session.prompt step=8 sessionID=ses_543b8fcf4ffenCnCj04uK59FI6 loop
    INFO 2025-11-25T18:29:42 +2ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:42 +1ms service=bus type=session.updated publishing
    INFO 2025-11-25T18:29:42 +0ms service=bus type=session.diff publishing
    INFO 2025-11-25T18:29:42 +0ms service=bus type=message.updated publishing
    INFO 2025-11-25T18:29:42 +1ms service=ripgrep cwd=/Users/joshuariley/Projects/Claude/gangway/app limit=200 tree
    INFO 2025-11-25T18:29:42 +417ms service=bash-tool shell=/bin/zsh bash tool using shell
    INFO 2025-11-25T18:29:42 +151ms service=session.processor process
    INFO 2025-11-25T18:29:42 +1ms service=bus type=session.status publishing
    ERROR 2025-11-25T18:29:42 +69ms service=acp-command promise={} reason=Invalid JSON response Caused by: Type validation failed: Value: {"code":500,"msg":"404 NOT_FOUND","success":false}.
    Error message: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Caused by: [
    {
    "code": "invalid_value",
    "values": [
    "message"
    ],
    "path": [
    "type"
    ],
    "message": "Invalid input: expected "message""
    },
    {
    "expected": "array",
    "code": "invalid_type",
    "path": [
    "content"
    ],
    "message": "Invalid input: expected array, received undefined"
    },
    {
    "expected": "object",
    "code": "invalid_type",
    "path": [
    "usage"
    ],
    "message": "Invalid input: expected object, received undefined"
    }
    ] Unhandled rejection

  10. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Contributor

    Wait so what models are working for you? And which ones aren't

  11. JoshuaRileyDev commented on Nov 25, 2025

    @JoshuaRileyDev
    Author

    So I want to use Claude Sonnet 4.5 as this is my main daily driver, I do also have a z.ai subscription for GLM 4.6, I tested this temporarily and this currently works, I've also just tried Claude Opus 4 and that doesn't work either, so I think none of the Claude models might be working, although I have done a full reconnection again to re-generate a claude max api token but that's not fixed it.

  12. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Contributor

    Hmm you are the only one Ive heard have this problem so I think something is misconfigured...

  13. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Contributor

    Can you use the model in claude code? You are using a claude code plan and even through anthropic oauth you can't use it?

  14. JoshuaRileyDev commented on Nov 25, 2025

    @JoshuaRileyDev
    Author

    Yes, I've had to temporarily switch to claude code, it works perfectly fine, just missing the speed that opencode has. I also double checked and I don't have any API keys added to my claude account and have PAYG turned off so it's only ever going to be using the subscription.

  15. 4 remaining items

  16. pirops commented on Dec 1, 2025

    @pirops

    Hmm you are the only one Ive heard have this problem so I think something is misconfigured...

    He's not the only one, I'm currently having the same problem. Calling models from anthropic/ gives NOT FOUND.

    opencode auth list
    
    ┌  Credentials ~\.local\share\opencode\auth.json
    │
    ●  Chutes api
    │
    ●  GitHub Copilot oauth
    │
    ●  Anthropic oauth
    │
    └  3 credentials
    
    ┌  Environment
    │
    ●  Mistral MISTRAL_API_KEY
    │
    ●  Google GEMINI_API_KEY
    │
    └  2 environment variables
    
    opencode debug config
    {
      "$schema": "https://opencode.ai/config.json",
      "provider": {
        "chutes": {
          "npm": "@ai-sdk/openai-compatible",
          "models": {
            "moonshotai/Kimi-K2-Thinking": {
              "name": "moonshotai/Kimi-K2-Thinking"
            }
          },
          "options": {
            "apiKey": "---",
            "baseURL": "https://llm.chutes.ai/v1"
          }
        }
      },
      "mcp": {
        "context7": {
          "type": "local",
          "command": [
            "npx",
            "-y",
            "@upstash/context7-mcp@latest"
          ],
          "environment": {
            "CONTEXT7_API_KEY": "---"
          }
        }
      },
      "permission": {
        "edit": "allow",
        "bash": {
          "git push": "deny",
          "git add": "ask",
          "git commit": "ask",
          "git status": "allow",
          "git diff": "allow",
          "npm run build": "allow",
          "ls": "allow",
          "pwd": "allow",
          "find": "allow",
          "tasklist": "allow",
          "findstr": "allow",
          "mkdir": "allow",
          "codex": "allow",
          "qwen": "allow",
          "gemini": "allow",
          "opencode": "allow",
          "where": "allow",
          "cat": "allow",
          "cd *": "allow",
          "dir *": "allow",
          "python *": "allow",
          "powershell *": "allow",
          "uv *": "allow"
        },
        "webfetch": "ask",
        "doom_loop": "ask",
        "external_directory": "ask"
      },
      "lsp": {
        "godot": {
          "command": [
            "godot-lsp-bridge.cmd"
          ],
          "extensions": [
            ".gd"
          ]
        }
      },
      "agent": {},
      "mode": {},
      "plugin": [],
      "command": {},
      "username": "---",
      "keybinds": {
        "leader": "ctrl+x",
        "app_exit": "ctrl+c,ctrl+d,<leader>q",
        "editor_open": "<leader>e",
        "theme_list": "<leader>t",
        "sidebar_toggle": "<leader>b",
        "status_view": "<leader>s",
        "session_export": "<leader>x",
        "session_new": "<leader>n",
        "session_list": "<leader>l",
        "session_timeline": "<leader>g",
        "session_share": "none",
        "session_unshare": "none",
        "session_interrupt": "escape",
        "session_compact": "<leader>c",
        "messages_page_up": "pageup",
        "messages_page_down": "pagedown",
        "messages_half_page_up": "ctrl+alt+u",
        "messages_half_page_down": "ctrl+alt+d",
        "messages_first": "ctrl+g,home",
        "messages_last": "ctrl+alt+g,end",
        "messages_copy": "<leader>y",
        "messages_undo": "<leader>u",
        "messages_redo": "<leader>r",
        "messages_toggle_conceal": "<leader>h",
        "model_list": "<leader>m",
        "model_cycle_recent": "f2",
        "model_cycle_recent_reverse": "shift+f2",
        "command_list": "ctrl+p",
        "agent_list": "<leader>a",
        "agent_cycle": "tab",
        "agent_cycle_reverse": "shift+tab",
        "input_clear": "ctrl+c",
        "input_forward_delete": "ctrl+d",
        "input_paste": "ctrl+v",
        "input_submit": "return",
        "input_newline": "shift+return,ctrl+j",
        "history_previous": "up",
        "history_next": "down",
        "session_child_cycle": "<leader>right",
        "session_child_cycle_reverse": "<leader>left",
        "terminal_suspend": "ctrl+z"
      }
    }
    
  17. rekram1-node commented on Dec 1, 2025

    @rekram1-node
    Contributor

    @pirops can you show me:

    opencode run "hello" --print-logs --model anthropic/claude-sonnet-4-5-20250929

  18. pirops commented on Dec 1, 2025

    @pirops

    opencode run "hello" --print-logs --model anthropic/claude-sonnet-4-5
    opencode run "hello" --print-logs --model anthropic/claude-sonnet-4-5-20250929

    installed @opencode-ai/plugin@1.0.123
    
    [39.00ms] done
     stderr=Saved lockfile
     done
    INFO  2025-12-01T04:01:35 +2ms service=plugin path=opencode-copilot-auth@0.0.7 loading plugin
    INFO  2025-12-01T04:01:35 +22ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-12-01T04:01:36 +816ms service=bus type=* subscribing
    INFO  2025-12-01T04:01:36 +0ms service=bus type=session.updated subscribing
    INFO  2025-12-01T04:01:36 +0ms service=bus type=message.updated subscribing
    INFO  2025-12-01T04:01:36 +0ms service=bus type=message.part.updated subscribing
    INFO  2025-12-01T04:01:36 +0ms service=format init
    INFO  2025-12-01T04:01:36 +0ms service=bus type=file.edited subscribing
    INFO  2025-12-01T04:01:36 +0ms service=lsp serverIds=deno, typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, yaml-ls, lua-ls, php intelephense, dart, godot enabled LSP servers
    INFO  2025-12-01T04:01:36 +1ms service=file.watcher init
    INFO  2025-12-01T04:01:36 +3ms service=bus type=command.executed subscribing
    INFO  2025-12-01T04:01:36 +4ms service=file.watcher platform=win32 backend=windows watcher backend
    INFO  2025-12-01T04:01:36 +60ms service=vcs branch=main initialized
    INFO  2025-12-01T04:01:36 +0ms service=bus type=file.watcher.updated subscribing
    INFO  2025-12-01T04:01:36 +91ms service=server method=POST path=/session request
    INFO  2025-12-01T04:01:36 +0ms service=server status=started method=POST path=/session request
    INFO  2025-12-01T04:01:36 +2ms service=session id=ses_527ed49e9ffe72W5dkSYDWJMeH version=1.0.123 projectID=d71efb9d847f66d1952b1c3cfd87e5bc42bdb035 directory=D:\Synced\Cong\Game\wott title=New session - 2025-12-01T04:01:36.278Z time={"created":1764561696278,"updated":1764561696278} created
    INFO  2025-12-01T04:01:36 +1ms service=bus type=session.created publishing
    INFO  2025-12-01T04:01:36 +0ms service=bus type=session.updated publishing
    INFO  2025-12-01T04:01:36 +1ms service=server status=completed duration=4 method=POST path=/session request
    INFO  2025-12-01T04:01:36 +1ms service=server method=GET path=/config request
    INFO  2025-12-01T04:01:36 +0ms service=server status=started method=GET path=/config request
    INFO  2025-12-01T04:01:36 +0ms service=server status=completed duration=0 method=GET path=/config request
    INFO  2025-12-01T04:01:36 +2ms service=server method=GET path=/event request
    INFO  2025-12-01T04:01:36 +0ms service=server status=started method=GET path=/event request
    INFO  2025-12-01T04:01:36 +0ms service=server event connected
    INFO  2025-12-01T04:01:36 +2ms service=bus type=* subscribing
    INFO  2025-12-01T04:01:36 +0ms service=server status=completed duration=2 method=GET path=/event request
    INFO  2025-12-01T04:01:36 +2ms service=server method=POST path=/session/ses_527ed49e9ffe72W5dkSYDWJMeH/message request
    INFO  2025-12-01T04:01:36 +0ms service=server status=started method=POST path=/session/ses_527ed49e9ffe72W5dkSYDWJMeH/message request
    INFO  2025-12-01T04:01:36 +2ms service=server status=completed duration=2 method=POST path=/session/ses_527ed49e9ffe72W5dkSYDWJMeH/message request
    INFO  2025-12-01T04:01:36 +4ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:01:36 +2ms service=bus type=message.part.updated publishing
    INFO  2025-12-01T04:01:36 +1ms service=bus type=session.updated publishing
    INFO  2025-12-01T04:01:36 +2ms service=bus type=session.status publishing
    INFO  2025-12-01T04:01:36 +0ms service=session.prompt step=0 sessionID=ses_527ed49e9ffe72W5dkSYDWJMeH loop
    INFO  2025-12-01T04:01:36 +6ms service=provider status=started state
    INFO  2025-12-01T04:01:36 +1ms service=models.dev file={} refreshing
    INFO  2025-12-01T04:01:36 +3ms service=provider init
    INFO  2025-12-01T04:01:36 +3ms service=provider providerID=mistral npm=@ai-sdk/mistral found
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=chutes npm=@ai-sdk/openai-compatible found
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=github-copilot npm=@ai-sdk/github-copilot found
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=anthropic npm=@ai-sdk/anthropic found
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=opencode npm=@ai-sdk/openai-compatible found
    INFO  2025-12-01T04:01:36 +0ms service=provider status=completed duration=7 state
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-5 getModel
    INFO  2025-12-01T04:01:36 +0ms service=provider status=started providerID=anthropic getSDK
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=anthropic pkg=@ai-sdk/anthropic using bundled provider
    INFO  2025-12-01T04:01:36 +0ms service=provider status=completed duration=0 providerID=anthropic getSDK
    INFO  2025-12-01T04:01:36 +0ms service=provider status=completed duration=0 providerID=anthropic getSDK
    INFO  2025-12-01T04:01:36 +0ms service=provider status=started providerID=anthropic getSDK
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=anthropic modelID=claude-haiku-4-5 getModel
    INFO  2025-12-01T04:01:36 +0ms service=provider providerID=anthropic modelID=claude-haiku-4-5 found
    INFO  2025-12-01T04:01:36 +1ms service=provider providerID=anthropic modelID=claude-sonnet-4-5 found
    INFO  2025-12-01T04:01:36 +10ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:01:36 +1ms service=ripgrep cwd=D:\Synced\Cong\Game\wott limit=200 tree
    INFO  2025-12-01T04:01:36 +35ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO  2025-12-01T04:01:36 +4ms service=mcp key=context7 type=local found
    ERROR 2025-12-01T04:01:36 +287ms service=session.prompt error=Not Found model=claude-haiku-4-5 failed to generate title
    INFO  2025-12-01T04:01:38 +1535ms service=mcp key=context7 toolCount=2 create() successfully created client
    INFO  2025-12-01T04:01:38 +3ms service=session.processor process
    INFO  2025-12-01T04:01:38 +4ms service=bus type=session.status publishing
    INFO  2025-12-01T04:01:38 +7ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:01:38 +2ms service=bus type=session.updated publishing
    INFO  2025-12-01T04:01:38 +1ms service=bus type=session.diff publishing
    ERROR 2025-12-01T04:01:38 +264ms service=session.prompt error={"error":{"name":"AI_APICallError","url":"https://api.anthropic.com/messages","requestBodyValues":{"model":"claude-sonnet-4-5","max_tokens":32000,"system":[{"type":"text","text":"You are Claude Code, Anthropic's official CLI for Claude.","cache_control":{"type":"ephemeral"}},{"type":"text","text":"You are OpenCode, the best coding agent on the planet.\n\nYou are an interactive CLI ... narrative information, and architectural questions."},"topic":{"type":"string","description":"Topic to focus documentation on (e.g., 'hooks', 'routing')."},"page":{"type":"integer","minimum":1,"maximum":10,"description":"Page number for pagination (start: 1, default: 1). If the context is not sufficient, try page=2, page=3, page=4, etc. with the same topic."}},"required":["context7CompatibleLibraryID"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}],"tool_choice":{"type":"auto"},"stream":true},"statusCode":404,"responseHeaders":{"cf-cache-status":"DYNAMIC","cf-ray":"9a6faf399bfe9590-HKG","connection":"keep-alive","date":"Mon, 01 Dec 2025 04:01:39 GMT","server":"cloudflare","transfer-encoding":"chunked","x-robots-tag":"none"},"responseBody":"","isRetryable":false}} stream error
    ERROR 2025-12-01T04:01:38 +2ms service=session.processor error=Not Found process
    INFO  2025-12-01T04:01:38 +0ms service=bus type=session.error publishing
    Error: Not Found
    INFO  2025-12-01T04:01:38 +2ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:01:38 +0ms service=session.compaction pruning
    INFO  2025-12-01T04:01:38 +8ms service=session.prompt sessionID=ses_527ed49e9ffe72W5dkSYDWJMeH cancel
    INFO  2025-12-01T04:01:38 +0ms service=bus type=session.status publishing
    INFO  2025-12-01T04:01:38 +0ms service=bus type=session.idle publishing
    
  19. rekram1-node commented on Dec 1, 2025

    @rekram1-node
    Contributor

    @pirops i dont think u used the correct model id? see the suffix on my comment?

  20. pirops commented on Dec 1, 2025

    @pirops

    I ran both. Gives the same result:

    installed @opencode-ai/plugin@1.0.123
    
    [10.00ms] done
     stderr=Saved lockfile
     done
    INFO  2025-12-01T04:04:49 +2ms service=plugin path=opencode-copilot-auth@0.0.7 loading plugin
    INFO  2025-12-01T04:04:49 +2ms service=plugin path=opencode-anthropic-auth@0.0.2 loading plugin
    INFO  2025-12-01T04:04:49 +26ms service=bus type=* subscribing
    INFO  2025-12-01T04:04:49 +0ms service=bus type=session.updated subscribing
    INFO  2025-12-01T04:04:49 +0ms service=bus type=message.part.updated subscribing
    INFO  2025-12-01T04:04:49 +0ms service=bus type=message.updated subscribing
    INFO  2025-12-01T04:04:49 +0ms service=format init
    INFO  2025-12-01T04:04:49 +0ms service=bus type=file.edited subscribing
    INFO  2025-12-01T04:04:49 +0ms service=lsp serverIds=deno, typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, yaml-ls, lua-ls, php intelephense, dart, godot enabled LSP servers
    INFO  2025-12-01T04:04:49 +0ms service=file.watcher init
    INFO  2025-12-01T04:04:49 +3ms service=bus type=command.executed subscribing
    INFO  2025-12-01T04:04:49 +4ms service=file.watcher platform=win32 backend=windows watcher backend
    INFO  2025-12-01T04:04:49 +64ms service=vcs branch=main initialized
    INFO  2025-12-01T04:04:49 +0ms service=bus type=file.watcher.updated subscribing
    INFO  2025-12-01T04:04:49 +76ms service=server method=POST path=/session request
    INFO  2025-12-01T04:04:49 +0ms service=server status=started method=POST path=/session request
    INFO  2025-12-01T04:04:49 +2ms service=session id=ses_527ea5669ffe0kqXWxcz13bo3G version=1.0.123 projectID=d71efb9d847f66d1952b1c3cfd87e5bc42bdb035 directory=D:\Synced\Cong\Game\wott title=New session - 2025-12-01T04:04:49.686Z time={"created":1764561889686,"updated":1764561889686} created
    INFO  2025-12-01T04:04:49 +1ms service=bus type=session.created publishing
    INFO  2025-12-01T04:04:49 +0ms service=bus type=session.updated publishing
    INFO  2025-12-01T04:04:49 +1ms service=server status=completed duration=4 method=POST path=/session request
    INFO  2025-12-01T04:04:49 +0ms service=server method=GET path=/config request
    INFO  2025-12-01T04:04:49 +0ms service=server status=started method=GET path=/config request
    INFO  2025-12-01T04:04:49 +1ms service=server status=completed duration=1 method=GET path=/config request
    INFO  2025-12-01T04:04:49 +2ms service=server method=GET path=/event request
    INFO  2025-12-01T04:04:49 +0ms service=server status=started method=GET path=/event request
    INFO  2025-12-01T04:04:49 +0ms service=server event connected
    INFO  2025-12-01T04:04:49 +1ms service=bus type=* subscribing
    INFO  2025-12-01T04:04:49 +1ms service=server status=completed duration=2 method=GET path=/event request
    INFO  2025-12-01T04:04:49 +2ms service=server method=POST path=/session/ses_527ea5669ffe0kqXWxcz13bo3G/message request
    INFO  2025-12-01T04:04:49 +0ms service=server status=started method=POST path=/session/ses_527ea5669ffe0kqXWxcz13bo3G/message request
    INFO  2025-12-01T04:04:49 +2ms service=server status=completed duration=2 method=POST path=/session/ses_527ea5669ffe0kqXWxcz13bo3G/message request
    INFO  2025-12-01T04:04:49 +3ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:04:49 +2ms service=bus type=message.part.updated publishing
    INFO  2025-12-01T04:04:49 +1ms service=bus type=session.updated publishing
    INFO  2025-12-01T04:04:49 +2ms service=bus type=session.status publishing
    INFO  2025-12-01T04:04:49 +0ms service=session.prompt step=0 sessionID=ses_527ea5669ffe0kqXWxcz13bo3G loop
    INFO  2025-12-01T04:04:49 +6ms service=provider status=started state
    INFO  2025-12-01T04:04:49 +1ms service=models.dev file={} refreshing
    INFO  2025-12-01T04:04:49 +4ms service=provider init
    INFO  2025-12-01T04:04:49 +2ms service=provider providerID=mistral npm=@ai-sdk/mistral found
    INFO  2025-12-01T04:04:49 +1ms service=provider providerID=chutes npm=@ai-sdk/openai-compatible found
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=github-copilot npm=@ai-sdk/github-copilot found
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic npm=@ai-sdk/anthropic found
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=opencode npm=@ai-sdk/openai-compatible found
    INFO  2025-12-01T04:04:49 +0ms service=provider status=completed duration=8 state
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-5-20250929 getModel
    INFO  2025-12-01T04:04:49 +0ms service=provider status=started providerID=anthropic getSDK
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic pkg=@ai-sdk/anthropic using bundled provider
    INFO  2025-12-01T04:04:49 +0ms service=provider status=completed duration=0 providerID=anthropic getSDK
    INFO  2025-12-01T04:04:49 +0ms service=provider status=completed duration=0 providerID=anthropic getSDK
    INFO  2025-12-01T04:04:49 +0ms service=provider status=started providerID=anthropic getSDK
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-haiku-4-5 getModel
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-5-20250929 found
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-haiku-4-5 found
    INFO  2025-12-01T04:04:49 +11ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:04:49 +2ms service=ripgrep cwd=D:\Synced\Cong\Game\wott limit=200 tree
    INFO  2025-12-01T04:04:49 +36ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO  2025-12-01T04:04:49 +5ms service=mcp key=context7 type=local found
    ERROR 2025-12-01T04:04:50 +320ms service=session.prompt error=Not Found model=claude-haiku-4-5 failed to generate title
    INFO  2025-12-01T04:04:59 +8993ms service=mcp key=context7 toolCount=2 create() successfully created client
    INFO  2025-12-01T04:04:59 +2ms service=session.processor process
    INFO  2025-12-01T04:04:59 +4ms service=bus type=session.status publishing
    INFO  2025-12-01T04:04:59 +5ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:04:59 +1ms service=bus type=session.updated publishing
    INFO  2025-12-01T04:04:59 +1ms service=bus type=session.diff publishing
    ERROR 2025-12-01T04:04:59 +289ms service=acp-command promise={} reason=Not Found Unhandled rejection
    ERROR 2025-12-01T04:04:59 +0ms service=default e=Not Found rejection
    ERROR 2025-12-01T04:04:59 +33ms service=session.prompt error={"error":{"name":"AI_APICallError","url":"https://api.anthropic.com/messages","requestBodyValues":{"model":"claude-sonnet-4-5-20250929","max_tokens":32000,"system":[{"type":"text","text":"You are Claude Code, Anthropic's official CLI for Claude.","cache_control":{"type":"ephemeral"}},{"type":"text","text":"You are OpenCode, the best coding agent on the planet.... and architectural questions."},"topic":{"type":"string","description":"Topic to focus documentation on (e.g., 'hooks', 'routing')."},"page":{"type":"integer","minimum":1,"maximum":10,"description":"Page number for pagination (start: 1, default: 1). If the context is not sufficient, try page=2, page=3, page=4, etc. with the same topic."}},"required":["context7CompatibleLibraryID"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}],"tool_choice":{"type":"auto"},"stream":true},"statusCode":404,"responseHeaders":{"cf-cache-status":"DYNAMIC","cf-ray":"9a6fb4213c4264c8-HKG","connection":"keep-alive","date":"Mon, 01 Dec 2025 04:04:59 GMT","server":"cloudflare","transfer-encoding":"chunked","x-robots-tag":"none"},"responseBody":"","isRetryable":false}} stream error
    ERROR 2025-12-01T04:04:59 +2ms service=session.processor error=Not Found process
    INFO  2025-12-01T04:04:59 +0ms service=bus type=session.error publishing
    Error: Not Found
    INFO  2025-12-01T04:04:59 +2ms service=bus type=message.updated publishing
    INFO  2025-12-01T04:04:59 +0ms service=session.compaction pruning
    INFO  2025-12-01T04:04:59 +9ms service=session.prompt sessionID=ses_527ea5669ffe0kqXWxcz13bo3G cancel
    INFO  2025-12-01T04:04:59 +0ms service=bus type=session.status publishing
    INFO  2025-12-01T04:04:59 +0ms service=bus type=session.idle publishing
    
  21. pirops commented on Dec 1, 2025

    @pirops

    I think the problem lies here:

    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-haiku-4-5 getModel
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-sonnet-4-5-20250929 found
    INFO  2025-12-01T04:04:49 +0ms service=provider providerID=anthropic modelID=claude-haiku-4-5 found
    
    ERROR 2025-12-01T04:01:36 +287ms service=session.prompt error=Not Found model=claude-haiku-4-5 failed to generate title
    
  22. rekram1-node commented on Dec 1, 2025

    @rekram1-node
    Contributor

    the session title gen isnt an issue or shouldnt be, we handle that error gracefully

    You can try setting:

    small_model in your opencode.json to something else like opencode/big-pickle instead

  23. rekram1-node commented on Dec 1, 2025

    @rekram1-node
    Contributor

    i think i may know the issue

  24. pirops commented on Dec 1, 2025

    @pirops

    Great! thanks for the tip.

  25. mattes337 commented on Dec 4, 2025

    @mattes337

    Same issue here:

    • Without small_model: error above
    • With small_model = haiku: error above
    • With small_model = glm-4.6: seems to loop indefinitely, but its not using anthropic models at all, falls back to glm. see below
      (tested with both anthropic api key and max subscription)

    opencode run "hello" --print-logs --model anthropic/claude-sonnet-4-5-20250929
    INFO 2025-12-04T11:01:18 +272ms service=default version=1.0.132 args=["run","hello","--print-logs","--model","anthropic/claude-sonnet-4-5-20250929"] opencode
    INFO 2025-12-04T11:01:18 +1ms service=default directory=C:\Users<user> creating instance
    INFO 2025-12-04T11:01:18 +1ms service=project directory=C:\Users<user> fromDirectory
    INFO 2025-12-04T11:01:18 +10ms service=default directory=C:\Users<user> bootstrapping
    INFO 2025-12-04T11:01:18 +2ms service=config path=C:\Users<user>.config\opencode\config.json loading
    INFO 2025-12-04T11:01:18 +1ms service=config path=C:\Users<user>.config\opencode\opencode.json loading
    INFO 2025-12-04T11:01:18 +5ms service=config path=C:\Users<user>.config\opencode\opencode.jsonc loading
    INFO 2025-12-04T11:01:18 +3ms service=bun cmd=["C:\NPM\node_modules\opencode-ai\node_modules\opencode-windows-x64\bin\opencode.exe","add","@opencode-ai/plugin@1.0.132","--exact"] cwd=C:\Users<user>.config\opencode running
    INFO 2025-12-04T11:01:18 +35ms service=bun code=0 stdout=bun add v1.3.3 (274e01c7)

    installed @opencode-ai/plugin@1.0.132

    [10.00ms] done
    stderr=Saved lockfile
    done
    INFO 2025-12-04T11:01:18 +2ms service=plugin path=opencode-copilot-auth@0.0.7 loading plugin
    INFO 2025-12-04T11:01:18 +3ms service=plugin path=opencode-anthropic-auth@0.0.3 loading plugin
    INFO 2025-12-04T11:01:19 +30ms service=bus type=* subscribing
    INFO 2025-12-04T11:01:19 +0ms service=bus type=session.updated subscribing
    INFO 2025-12-04T11:01:19 +0ms service=bus type=message.part.updated subscribing
    INFO 2025-12-04T11:01:19 +0ms service=bus type=message.updated subscribing
    INFO 2025-12-04T11:01:19 +0ms service=format init
    INFO 2025-12-04T11:01:19 +0ms service=bus type=file.edited subscribing
    INFO 2025-12-04T11:01:19 +0ms service=lsp serverIds=deno, typescript, vue, eslint, gopls, ruby-lsp, pyright, elixir-ls, zls, csharp, sourcekit-lsp, rust, clangd, svelte, astro, jdtls, yaml-ls, lua-ls, php intelephense, dart enabled LSP servers
    INFO 2025-12-04T11:01:19 +4ms service=bus type=command.executed subscribing
    INFO 2025-12-04T11:01:19 +29ms service=server method=POST path=/session request
    INFO 2025-12-04T11:01:19 +1ms service=server status=started method=POST path=/session request
    INFO 2025-12-04T11:01:19 +3ms service=session id=ses_516f9f3abffe9kUAYeqXffqLfW version=1.0.132 projectID=global directory=C:\Users<user> title=New session - 2025-12-04T11:01:19.060Z time={"created":1764846079060,"updated":1764846079060} created
    INFO 2025-12-04T11:01:19 +10ms service=bus type=session.created publishing
    INFO 2025-12-04T11:01:19 +0ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:19 +2ms service=server status=completed duration=15 method=POST path=/session request
    INFO 2025-12-04T11:01:19 +9ms service=server method=GET path=/config request
    INFO 2025-12-04T11:01:19 +0ms service=server status=started method=GET path=/config request
    INFO 2025-12-04T11:01:19 +1ms service=server status=completed duration=1 method=GET path=/config request
    INFO 2025-12-04T11:01:19 +13ms service=server method=GET path=/event request
    INFO 2025-12-04T11:01:19 +0ms service=server status=started method=GET path=/event request
    INFO 2025-12-04T11:01:19 +0ms service=server event connected
    INFO 2025-12-04T11:01:19 +3ms service=bus type=* subscribing
    INFO 2025-12-04T11:01:19 +2ms service=server status=completed duration=5 method=GET path=/event request
    INFO 2025-12-04T11:01:19 +8ms service=server method=POST path=/session/ses_516f9f3abffe9kUAYeqXffqLfW/message request
    INFO 2025-12-04T11:01:19 +0ms service=server status=started method=POST path=/session/ses_516f9f3abffe9kUAYeqXffqLfW/message request
    INFO 2025-12-04T11:01:19 +6ms service=server status=completed duration=6 method=POST path=/session/ses_516f9f3abffe9kUAYeqXffqLfW/message request
    INFO 2025-12-04T11:01:19 +38ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:19 +11ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:19 +14ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:19 +2ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:19 +0ms service=session.prompt step=0 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:19 +40ms service=provider status=started state
    INFO 2025-12-04T11:01:19 +2ms service=models.dev file={} refreshing
    INFO 2025-12-04T11:01:19 +19ms service=provider init
    INFO 2025-12-04T11:01:19 +56ms service=provider providerID=google found
    INFO 2025-12-04T11:01:19 +0ms service=provider providerID=openrouter found
    INFO 2025-12-04T11:01:19 +0ms service=provider providerID=zai-coding-plan found
    INFO 2025-12-04T11:01:19 +0ms service=provider providerID=anthropic found
    INFO 2025-12-04T11:01:19 +0ms service=provider providerID=opencode found
    INFO 2025-12-04T11:01:19 +0ms service=provider status=completed duration=77 state
    INFO 2025-12-04T11:01:19 +1ms service=provider status=started providerID=anthropic getSDK
    INFO 2025-12-04T11:01:19 +0ms service=provider providerID=anthropic pkg=@ai-sdk/anthropic using bundled provider
    INFO 2025-12-04T11:01:19 +0ms service=provider status=completed duration=0 providerID=anthropic getSDK
    INFO 2025-12-04T11:01:19 +0ms service=provider status=started providerID=zai-coding-plan getSDK
    INFO 2025-12-04T11:01:19 +0ms service=provider providerID=zai-coding-plan pkg=@ai-sdk/openai-compatible using bundled provider
    INFO 2025-12-04T11:01:19 +0ms service=provider status=completed duration=0 providerID=zai-coding-plan getSDK
    INFO 2025-12-04T11:01:19 +19ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:19 +62ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:19 +11ms service=session.processor process
    INFO 2025-12-04T11:01:19 +5ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:19 +67ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:19 +10ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:19 +8ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:21 +2320ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:21 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:21 +8ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:21 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:21 +0ms service=session.prompt step=1 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:21 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:21 +1ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:21 +1ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:21 +7ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:21 +1ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:21 +2ms service=session.processor process
    INFO 2025-12-04T11:01:21 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:22 +449ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:22 +502ms service=session.summary title=
    Greeting title
    INFO 2025-12-04T11:01:22 +0ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:23 +862ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:23 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:23 +9ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:23 +0ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:23 +0ms service=session.prompt step=2 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:23 +2ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:23 +0ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:23 +1ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:23 +7ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:23 +2ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:23 +1ms service=session.processor process
    INFO 2025-12-04T11:01:23 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:25 +1357ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:25 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:25 +12ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:25 +0ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:25 +1ms service=session.prompt step=3 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:25 +3ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:25 +2ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:25 +0ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:25 +7ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:25 +1ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:25 +2ms service=session.processor process
    INFO 2025-12-04T11:01:25 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:26 +1243ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:26 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:26 +10ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:26 +0ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:26 +0ms service=session.prompt step=4 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:26 +4ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:26 +1ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:26 +1ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:26 +6ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:26 +2ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:26 +1ms service=session.processor process
    INFO 2025-12-04T11:01:26 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:26 +478ms service=session.summary body= body
    INFO 2025-12-04T11:01:26 +0ms service=session.summary body=
    I have not yet performed any action, as there is no prior conversation for me to summarize. body
    INFO 2025-12-04T11:01:26 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:26 +0ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:28 +1230ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:28 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:28 +8ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:28 +0ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:28 +0ms service=session.prompt step=5 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:28 +4ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:28 +2ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:28 +0ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:28 +7ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:28 +1ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:28 +1ms service=session.processor process
    INFO 2025-12-04T11:01:28 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:29 +1124ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:29 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:29 +9ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:29 +0ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:29 +0ms service=session.prompt step=6 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:29 +5ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:29 +1ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:29 +0ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:29 +8ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:29 +1ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:29 +1ms service=session.processor process
    INFO 2025-12-04T11:01:29 +1ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:30 +1205ms service=bus type=message.part.updated publishing
    INFO 2025-12-04T11:01:30 +1ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:30 +11ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:30 +0ms service=bus type=session.status publishing
    INFO 2025-12-04T11:01:30 +0ms service=session.prompt step=7 sessionID=ses_516f9f3abffe9kUAYeqXffqLfW loop
    INFO 2025-12-04T11:01:30 +6ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:30 +1ms service=bus type=session.updated publishing
    INFO 2025-12-04T11:01:30 +0ms service=bus type=session.diff publishing
    INFO 2025-12-04T11:01:30 +7ms service=bus type=message.updated publishing
    INFO 2025-12-04T11:01:30 +2ms service=bash-tool shell=C:\WINDOWS\system32\cmd.exe bash tool using shell
    INFO 2025-12-04T11:01:30 +1ms service=session.processor process
    INFO 2025-12-04T11:01:30 +0ms service=bus type=session.status publishing

  26. ruslanfialkovskii commented on Dec 19, 2025

    @ruslanfialkovskii

    Same problem, I have to

  27. JoshuaRileyDev commented on Dec 20, 2025

    @JoshuaRileyDev
    Author

    Was there ever a fix for this? I still get:

    TypeError: undefined is not an object (evaluating 'response.headers') as an error a few times and then others it just shows the loading spinner infinitely

  28. rekram1-node commented on Dec 20, 2025

    @rekram1-node
    Contributor

    If thats the error u get: 1st prolyl update opencode but second u should only need to logout and log back in

  29. thdxr commented on Mar 25, 2026

    @thdxr
    Member

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

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

Metadata

Metadata

Assignees

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