replaceAll parameter causes validation error: expected boolean, received undefined (OpenAI, macOS 15.5, v0.3.12) #740

Closed
opened 2026-02-16 17:28:06 -05:00 by yindo · 3 comments
Owner

Originally created by @shirokun20 on GitHub (Jul 15, 2025).

Originally assigned to: @thdxr on GitHub.

🐛 Error: replaceAll invalid_type - expected boolean, received undefined

Environment

  • OS: macOS 15.5
  • Installation: via Homebrew
  • OpenCode Version: 0.3.12
  • Provider: OpenAI

🔍 Description

When running OpenCode version 0.3.12 on macOS 15.5 (installed via Homebrew), using OpenAI as the provider, the following error was encountered:

[
  {
    "code": "invalid_type",
    "expected": "boolean",
    "received": "undefined",
    "path": ["replaceAll"],
    "message": "Required"
  }
]
Originally created by @shirokun20 on GitHub (Jul 15, 2025). Originally assigned to: @thdxr on GitHub. ## 🐛 Error: `replaceAll` invalid_type - expected boolean, received undefined **Environment** - **OS**: macOS 15.5 - **Installation**: via Homebrew - **OpenCode Version**: 0.3.12 - **Provider**: OpenAI --- ### 🔍 Description When running OpenCode version 0.3.12 on macOS 15.5 (installed via Homebrew), using OpenAI as the provider, the following error was encountered: ```json [ { "code": "invalid_type", "expected": "boolean", "received": "undefined", "path": ["replaceAll"], "message": "Required" } ]
yindo closed this issue 2026-02-16 17:28:06 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 29, 2025):

are you still running into this?

@rekram1-node commented on GitHub (Aug 29, 2025): are you still running into this?
Author
Owner

@shirokun20 commented on GitHub (Sep 8, 2025):

No, im using github copilot account now

@shirokun20 commented on GitHub (Sep 8, 2025): No, im using github copilot account now
Author
Owner

@rekram1-node commented on GitHub (Sep 8, 2025):

gotcha closing then

@rekram1-node commented on GitHub (Sep 8, 2025): gotcha closing then
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#740