You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the Claude Pro Max model with Opencode. Whenever I try to run /compact , I get the error:
AI_APICallError: system: text content blocks must contain non-whitespace text
And this ruins the formatting of the opencode terminal so I have to restart the command prompt. Eventually this makes opencode unusable because the auto-compact doesn't seem to work either.
I think the error originates from node_modules/@ai-sdk/provider/dist/index.js:62:5 .
At least, that is the minimal error I can see in the messed up opencode terminal.